Back to Devexpress

CommentCollection.IndexOf(Comment) Method

officefileapi-devexpress-dot-spreadsheet-dot-commentcollection-dot-indexof-x28-devexpress-dot-spreadsheet-dot-comment-x29.md

latest1.7 KB
Original Source

CommentCollection.IndexOf(Comment) Method

Returns the index of the specified note in the collection.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
int IndexOf(
    Comment comment
)
vb
Function IndexOf(
    comment As Comment
) As Integer

Parameters

NameTypeDescription
commentComment

A Comment object to locate in the collection.

|

Returns

TypeDescription
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

Threaded Comments in Spreadsheet Documents

How to: Add a Simple Note To a Spreadsheet Cell

CommentCollection Interface

CommentCollection Members

DevExpress.Spreadsheet Namespace