Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

CommentRunCollection.Contains(CommentRun) Method

Indicates whether the collection contains the specified comment run.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

bool Contains(
    CommentRun run
)

Parameters

Name Type Description
run CommentRun

A CommentRun object to locate in the collection.

Returns

Type Description
Boolean

True, if the collection contains the comment run; otherwise, false.

Remarks

To add a comment run, use the CommentRunCollection.Add method. To delete comment runs, use the CommentRunCollection.Remove, CommentRunCollection.RemoveAt or CommentRunCollection.Clear method.

See Also