The XLNamedRangeCollection type exposes the following members.

Methods

  Name Description
Public method Add(XLNamedRange)
Appends an XLNamedRange object to the collection.
Public method Add(String, XLCellRange)
Creates an XLNamedRange object and appends it to the collection.
Public method Add(String, array<XLCellRange>[]()[][])
Creates an XLNamedRange object and appends it to the collection.
Public method Add(String, XLSheet, Int32, Int32)
Creates an XLNamedRange object and appends it to the collection. This overload creates a range containing a single cell.
Public method Add(String, Int32, Int32, Int32, Int32)
Creates an XLNamedRange object and appends it to the collection. This overload allows you to create a 3-D reference to the same range of cells on multiple worksheets.
Public method Add(String, XLSheet, Int32, Int32, Int32, Int32)
Creates an XLNamedRange object and appends it to the collection.
Public method Clear
Removes all XLNamedRange objects from the collection.
Public method Contains(String)
Checks whether the collection contains an XLNamedRange object with the specified name.
Public method Contains(XLNamedRange)
Checks whether the collection contains a specific XLNamedRange object.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IndexOf(String)
Gets the position of an XLNamedRange object with the specified name in the collection.
Public method IndexOf(XLNamedRange)
Gets the position of an XLNamedRange object in the collection.
Public method Insert
Inserts an XLNamedRange object at a specific position in the collection.
Public method Remove(String)
Removes an XLNamedRange object with the specified name from the collection.
Public method Remove(XLNamedRange)
Removes an XLNamedRange object from the collection.
Public method RemoveAt
Removes an XLNamedRange object at a specific position from the collection.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  Name Description
Public property Book
Gets a reference to the parent C1XLBook object.
Public property Count
Gets the number of XLNamedRange objects in the collection.
Public property Item[([( Int32])])
Gets a reference to the XLNamedRange object at the specified index. Returns null if an invalid index is specified.
Public property Item[([( String])])
Gets a reference to the XLNamedRange object with the specified name. Returns null if an object with the specified name could not be found in the collection.

See Also