Excel for WPF | ComponentOne
C1.WPF.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 Boolean
    public 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