Edit a comment on a document.

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

Syntax

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

Parameters

content
Type: System..::.String
The new 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

A link to the comments

Remarks

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