Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / ShapeCollection Class / Contains Method / Contains(XLShape) Method
XLShape object to look for.

In This Topic
    Contains(XLShape) Method
    In This Topic
    Checks whether the collection contains a specific XLShape object.
    Syntax
    'Declaration
     
    
    Public Overloads Function Contains( _
       ByVal shape As XLShape _
    ) As Boolean
    public bool Contains( 
       XLShape shape
    )

    Parameters

    shape
    XLShape object to look for.

    Return Value

    True if the collection contains the range, False otherwise.
    See Also