ComponentOne Excel for .NET
C1.Excel Assembly / C1.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 System.Integer
    public System.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