Adds a new comment to the document.


public CommentCollection.AddResult Add();
Public Function Add() As CommentCollection.AddResult


public CommentCollection.AddResult Add(CommentedText commentedText);
Public Function Add(ByVal commentedText As CommentedText) As CommentCollection.AddResult


Parameter Description
commentedText Defines the commented text and its comment to add.

Return Value

The return value specifies whether the comment input control could be opened or the new comment has successfully been inserted. It can be one of the CommentCollection.AddResult values.