Adds a new comment to the document.

Add()

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

Add(CommentedText)

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

Parameters

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.