Add the document to the album
Namespace:
IpernityNET.IpernityObjectsAssembly: IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)
Syntax
C# |
---|
public DocumentAddResult DocsAdd( Document doc ) |
Visual Basic (Declaration) |
---|
Public Function DocsAdd ( _ doc As Document _ ) As DocumentAddResult |
Visual C++ |
---|
public: DocumentAddResult^ DocsAdd( Document^ doc ) |
Parameters
- doc
- Type: IpernityNET.IpernityObjects..::.Document
The Document to add
Return Value
A DocumentAddResult object containing the status of each added documentsRemarks
This method encapsulates album.docs.add
This method requires "write" permission on docs.
Exceptions
Exception | Condition |
---|---|
IpernityNET..::.IpernityException | Throwed when Ipernity returned an error |
IpernityNET.IpernityObjects..::.ObjectNotConfiguredException | Throwed when an Ipernity object has not been configured. |