CommentCollection class

CommentCollection class

Represents a collection of comments of one author.

The CommentCollection type exposes the following members:

Gets the element at the specified index. Read-only Comment.

Indexer

NameDescription
[index]

Methods

MethodDescription
to_arrayCreates and returns an array with all comments.
to_arrayCreates and returns an array with all comments from the specified range.
add_commentAdd new comment at the end of a collection.
add_modern_commentAdd new modern comment at the end of a collection.
insert_commentInsert new comment to a collection at the specified index.
insert_modern_commentInsert new modern comment to a collection at the specified index.
remove_atRemoves the element at the specified index in a collection.
removeRemoves the first occurrence of the specified comment in a collection.
clearRemoves all comments from a collection.
find_comment_by_idxFinds a comment in the collection by index.

See Also