Add one document to an album

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

Syntax

C#
public DocumentAddResult DocsAdd(
	int docId
)
Visual Basic (Declaration)
Public Function DocsAdd ( _
	docId As Integer _
) As DocumentAddResult
Visual C++
public:
DocumentAddResult^ DocsAdd(
	int docId
)

Parameters

docId
Type: System..::.Int32
A document ID

Return Value

A DocumentAddResult object containing the status of each added documents

Remarks

This method encapsulates album.docs.add This method requires "write" permission on docs.

Exceptions

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

See Also