Removes a CommentedText from the collection. The method removes the saved position values and the comment string. The text, which is commented, is not removed from the document.

Remove(CommentedText)

public bool Remove(CommentedText commentedText);
Public Function Remove(ByVal commentedText As CommentedText, accept As Boolean) As Boolean

Parameters

Parameter Description
commentedText Specifies the CommentedText to remove.

Return Value

The return value is true, if the comment could be removed. Otherwise, it is false.