CommentCollection

CommentCollection class

Represents a collection of comments of one author.

addComment

NameDescription
addComment (String, Slide, Point2D.Float, Date)Add new comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new comment.
slideSlideSlide in a presentation where to add a new comment.
positionPoint2D.FloatPosition on a slide where to add a new comment.
creationTimeDateTime of a comment creation.

Returns: Comment, ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, Connector, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeConnectorShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, GraphicalObject, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeGraphicalObjectShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, SmartArtShape, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSmartArtShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, Shape, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, Table, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeTableShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, Ink, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeInkShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, SummaryZoomFrame, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSummaryZoomFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, GeometryShape, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeGeometryShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, ZoomFrame, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeZoomFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, SummaryZoomSection, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSummaryZoomSectionShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, VideoFrame, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeVideoFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, OleObjectFrame, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeOleObjectFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, SmartArt, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSmartArtShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, GroupShape, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeGroupShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, AutoShape, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeAutoShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, PictureFrame, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapePictureFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, SectionZoomFrame, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSectionZoomFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, Chart, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeChartShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, AudioFrame, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeAudioFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, LegacyDiagram, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeLegacyDiagramShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


addModernComment

NameDescription
addModernComment (String, Slide, ZoomObject, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeZoomObjectShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


clear

NameDescription
clear ()Removes all comments from a collection.

Returns: void


findCommentByIdx

NameDescription
findCommentByIdx (int)Finds a comment in the collection by index.

Parameters:

NameTypeDescription
idxintUnique index of a comment to find {@code int}.

Returns: Comment, ModernComment


getSyncRoot

NameDescription
getSyncRoot ()Returns a synchronization root. Read-only Object.

Returns: Object


get_Item

NameDescription
get_Item (int)Gets the element at the specified index. Read-only Comment.

Returns: Comment, ModernComment


insertComment

NameDescription
insertComment (int, String, Slide, Point2D.Float, Date)Insert new comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which comment should be inserted.
textStringPlain text of a new comment.
slideSlideSlide in a presentation where to add a new comment.
positionPoint2D.FloatPosition on a slide where to add a new comment.
creationTimeDateTime of a comment creation.

Returns: Comment, ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, Connector, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeConnectorShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, GraphicalObject, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeGraphicalObjectShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, SmartArtShape, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSmartArtShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, Shape, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, Table, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeTableShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, Ink, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeInkShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, SummaryZoomFrame, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSummaryZoomFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, GeometryShape, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeGeometryShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, ZoomFrame, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeZoomFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, SummaryZoomSection, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSummaryZoomSectionShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, VideoFrame, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeVideoFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, OleObjectFrame, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeOleObjectFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, SmartArt, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSmartArtShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, GroupShape, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeGroupShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, AutoShape, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeAutoShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, PictureFrame, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapePictureFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, SectionZoomFrame, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSectionZoomFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, Chart, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeChartShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, AudioFrame, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeAudioFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, LegacyDiagram, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeLegacyDiagramShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


insertModernComment

NameDescription
insertModernComment (int, String, Slide, ZoomObject, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeZoomObjectShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Returns: ModernComment


isSynchronized

NameDescription
isSynchronized ()Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

Returns: boolean


iterator

NameDescription
iterator ()Returns an enumerator that iterates through the collection.

Returns:


iteratorJava

NameDescription
iteratorJava ()Returns a java iterator for the entire collection.

Returns:


remove

NameDescription
remove (Comment)Removes the first occurrence of the specified comment in a collection.

Parameters:

NameTypeDescription
commentCommentThe comment to remove from a collection.

Returns: void

Exception

ErrorCondition
PptxEditExceptionThrown if comment is already removed.

remove

NameDescription
remove (ModernComment)Removes the first occurrence of the specified comment in a collection.

Parameters:

NameTypeDescription
commentModernCommentThe comment to remove from a collection.

Returns: void

Exception

ErrorCondition
PptxEditExceptionThrown if comment is already removed.

removeAt

NameDescription
removeAt (int)Removes the element at the specified index in a collection.

Parameters:

NameTypeDescription
indexintThe zero-based index of the element to remove.

Returns: void

Exception

ErrorCondition
PptxEditExceptionThrown if comment is already removed.

size

NameDescription
size ()Gets the number of elements actually contained in the collection. Read-only int.

Returns: int


toArray

NameDescription
toArray ()Creates and returns an array with all comments.

Returns: Comment, ModernComment


toArray

NameDescription
toArray (int, int)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