Comment on a document.

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

Syntax

C#
public Comment CommentsAdd(
	string content,
	bool preview
)
Visual Basic (Declaration)
Public Function CommentsAdd ( _
	content As String, _
	preview As Boolean _
) As Comment
Visual C++
public:
Comment^ CommentsAdd(
	String^ content, 
	bool preview
)

Parameters

content
Type: System..::.String
The comment text. (Some HTML tags are accepted)
preview
Type: System..::.Boolean
Set this flag to true to preview the comment. The comment will not be added.

Return Value

The added Comment

Remarks

This method encapsulates doc.comments.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