Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / XLCommentCollection Class / IndexOf Method
The XLComment object to look for.

In This Topic
    IndexOf Method (XLCommentCollection)
    In This Topic
    Gets the index of a specific XLComment object in the collection.
    Syntax
    'Declaration
     
    
    Public Function IndexOf( _
       ByVal comment As XLComment _
    ) As Integer
    public int IndexOf( 
       XLComment comment
    )

    Parameters

    comment
    The XLComment object to look for.

    Return Value

    The position of the object in the collection, or -1 if the object is not a member of the collection.
    See Also