.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

CommentCollection Interface

A collection of Comment objects.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v21.2.Core.dll

Declaration

[ComVisible(true)]
public interface CommentCollection :
    ReadOnlyCommentCollection,
    ISimpleCollection<Comment>,
    IEnumerable<Comment>,
    IEnumerable,
    ICollection

Remarks

A CommentCollection object is available using the SubDocument.Comments property. It contains all comments in the current document.

Items in the CommentCollection are ordered and indexed in the same order as the ranges to which they belong. That is, a comment whose Comment.Range is closer to the beginning of the document has a lower index value.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CommentCollection interface.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also