Get the document context in an album
Namespace:
IpernityNET.IpernityObjectsAssembly: IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)
Syntax
C# |
---|
public DocumentContext DocsGetContext( Document doc, int prev, int next ) |
Visual Basic (Declaration) |
---|
Public Function DocsGetContext ( _ doc As Document, _ prev As Integer, _ next As Integer _ ) As DocumentContext |
Visual C++ |
---|
public: DocumentContext^ DocsGetContext( Document^ doc, int prev, int next ) |
Parameters
- doc
- Type: IpernityNET.IpernityObjects..::.Document
The Document to get the context for. By default 10 previous and 10 next documents are returned.
- prev
- Type: System..::.Int32
Only return some previous (oldest) documents. (Value is from 1 to 50)
- next
- Type: System..::.Int32
Only return some next (newest) documents. (Value is from 1 to 50)
Return Value
The DocumentContextRemarks
This method encapsulates album.docs.getContext
This method does not require any particular permission.
Exceptions
Exception | Condition |
---|---|
IpernityNET..::.IpernityException | Throwed when Ipernity returned an error |
IpernityNET.IpernityObjects..::.ObjectNotConfiguredException | Throwed when an Ipernity object has not been configured. |