ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLCommentCollection Class / Contains Method
The XLComment object to look for.

In This Topic
    Contains Method (XLCommentCollection)
    In This Topic
    Checks whether the collection contains a specific XLComment object.
    Syntax
    'Declaration
     
    Public Function Contains( _
       ByVal comment As XLComment _
    ) As System.Boolean
    public System.bool Contains( 
       XLComment comment
    )

    Parameters

    comment
    The XLComment object to look for.

    Return Value

    True if the collection contains the comment, false otherwise.
    See Also