Skip to main content
Row

CommentCollection.IndexOf(Comment) Method

Returns the index of the specified note in the collection.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

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 note’s position within the collection. -1 if the note doesn’t belong to the collection.

See Also