Excel for WPF | ComponentOne
C1.Silverlight.Excel Namespace / XLNamedRangeCollection Class / Contains Method / Contains(String) Method
The name of the XLNamedRange object to look for.

In This Topic
    Contains(String) Method
    In This Topic
    Checks whether the collection contains an XLNamedRange object with the specified name.
    Syntax
    'Declaration
     
    
    Public Overloads Function Contains( _
       ByVal name As String _
    ) As Boolean
    public bool Contains( 
       string name
    )

    Parameters

    name
    The name of the XLNamedRange object to look for.

    Return Value

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