Gets a particular item from the collection.

GetItem()

public CommentedText GetItem();
Public Function GetItem() As CommentedText

GetItem(Bool)

public CommentedText GetItem(bool next);
Public Function GetItem(ByVal next As Boolesn) As CommentedText

Parameters

Parameter Description
next If this parameter is true, the next comment in the textflow is returned. If this parameter is false, the previous comment in the textflow is returned. The next or the previous comment is returned independent whether there is a comment at the current text input position.

Return Value

The return value is null, if a comment could not be found. Otherwise, it is an object of the type CommentedText.