Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CommentCollection Members

In This Article
A collection of Comment objects.

#Properties
Show Inherited Hide Inherited

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
Item[String] Returns a comment with the specified name.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

#Methods
Show Inherited Hide Inherited

Name Description
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
Create(DocumentPosition, Int32, String, DateTime) Creates a comment for the specified range and assigns the comment’s author and creation date.
Create(DocumentPosition, Int32, String) Creates a new Comment with the specified settings.
Create(DocumentRange, String, DateTime) Creates a comment for the specified range and assigns the author’s name and creation date.
Create(DocumentRange, String) Creates a new Comment with the specified settings.
Create(String, Comment) Creates a nested comment.
Create(String, DateTime, Comment) Creates a nested comment with the specified author’s name and creation date.
Get(DocumentRange) Gets all comments located in the specified document range. Inherited from ReadOnlyCommentCollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
Remove(Comment) Removes the specified comment from the collection.
RemoveAt(Int32) Deletes a comment specified by its index.
Select(Comment) Selects the specified comment in a document.
See Also