toArray

toArray() function

Creates and returns an array with all comments.

Result

Comment, ModernComment


toArray(int startIndex, int count) function

Creates and returns an array with all comments from the specified range.

Parameters

NameTypeDescription
startIndexintAn index of a first comment to return.
countintA number of comments to return.

Result

Comment, ModernComment