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

CommentCollection.IndexOf(Comment) Method

Returns the index of the specified comment in the collection.

Namespace: DevExpress.Spreadsheet

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

Declaration

int IndexOf(
    Comment comment
)

Parameters

Name Type Description
comment Comment

A Comment object to locate in the collection.

Returns

Type Description
Int32

A zero-based integer which specifies the comment’s position within the collection. -1 if the comment doesn’t belong to the collection.

See Also