ComponentOne Excel for .NET
C1.Excel Assembly / C1.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 System.String _
    ) As System.Boolean
    public System.bool Contains( 
       System.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