Add a note to a photo.
Namespace:
IpernityNET.IpernityObjectsAssembly: IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)
Syntax
| C# |
|---|
public void NotesAdd( Note note, bool preview ) |
| Visual Basic (Declaration) |
|---|
Public Sub NotesAdd ( _ note As Note, _ preview As Boolean _ ) |
| Visual C++ |
|---|
public: void NotesAdd( Note^ note, bool preview ) |
Parameters
- note
- Type: IpernityNET.IpernityObjects..::.Note
The Note to add
- preview
- Type: System..::.Boolean
Set this flag to true to preview the note. The note will not be added.
Remarks
This method encapsulates doc.notes.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. |