ThreadedCommentCollection

ThreadedCommentCollection class

Represents the list of threaded comments.

class ThreadedCommentCollection;

Methods

MethodDescription
get(number)Gets the threaded comment by the specific index.
add(string, ThreadedCommentAuthor)Adds a threaded comment;
getCount()Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

get(number)

Gets the threaded comment by the specific index.

get(index: number) : ThreadedComment;

Parameters:

ParameterTypeDescription
indexnumberThe index

Returns

ThreadedComment

add(string, ThreadedCommentAuthor)

Adds a threaded comment;

add(text: string, author: ThreadedCommentAuthor) : number;

Parameters:

ParameterTypeDescription
textstringThe text of the threaded comment.
authorThreadedCommentAuthorThe author of the threaded comment

getCount()

Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;