toArray

toArray() method

Creates and returns an array with all comments.

Returns

Comment, ModernComment


toArray(int startIndex, int count) method

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.

Returns

Comment, ModernComment