Get the document context in an album

Namespace:  IpernityNET.IpernityObjects
Assembly:  IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)

Syntax

C#
public DocumentContext DocsGetContext(
	Document doc
)
Visual Basic (Declaration)
Public Function DocsGetContext ( _
	doc As Document _
) As DocumentContext
Visual C++
public:
DocumentContext^ DocsGetContext(
	Document^ doc
)

Parameters

doc
Type: IpernityNET.IpernityObjects..::.Document
The Document to get the context for. By default 10 previous and 10 next documents are returned.

Return Value

The DocumentContext

Remarks

This method encapsulates album.docs.getContext This method does not require any particular permission.

Exceptions

ExceptionCondition
IpernityNET..::.IpernityExceptionThrowed when Ipernity returned an error
IpernityNET.IpernityObjects..::.ObjectNotConfiguredExceptionThrowed when an Ipernity object has not been configured.

See Also