ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLNamedRangeCollection Class / Contains Method / Contains(XLNamedRange) Method
The XLNamedRange object to look for.

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

    Parameters

    namedRange
    The XLNamedRange object to look for.

    Return Value

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