[]
        
(Showing Draft Content)

C1.Excel.XLNamedRangeCollection.Remove

Remove Method

Remove(XLNamedRange)

Removes an XLNamedRange object from the collection.

Declaration
public bool Remove(XLNamedRange nr)
Parameters
Type Name Description
XLNamedRange nr

The XLNamedRange object to remove from the collection.

Returns
Type Description
bool

True if the object was removed, false if it was not a member of the collection.

Remove(string)

Removes an XLNamedRange object with the specified name from the collection.

Declaration
public void Remove(string name)
Parameters
Type Name Description
string name

The name of the range to remove from the collection (case-insensitive).