Search
NamedRangeCollection Methods
 


 Public Methods

  Name Description

add

Overloaded. Adds an element to the collection.

addCollectionListener

Registers listener so that it will receive events from the collection. (Inherited from UndoableCollection.)

addNamedCollectionListener

Registers listener so that it will receive events from the collection. (Inherited from NamedCollection.)

clear

Removes all elements from the collection.

contains

Determines whether an element is in the collection. (Inherited from UndoableCollection.)

contains

Determines whether an element with the specified name is in the collection. (Inherited from NamedCollection.)

get

Gets the element at the specified index.

get

Gets the item with the specified name. If there is no item with the specified name, the indexer has no effect. (Inherited from NamedCollection.)

indexOf

Searches for the specified item and returns the zero-based index of the first occurrence within the entire collection. (Inherited from UndoableCollection.)

iterator

  (Inherited from UndoableCollection.)

remove

Overloaded. Removes an element of the collection.

removeCollectionListener

Unregisters listener so that it will no longer receive collection events. (Inherited from UndoableCollection.)

removeNamedCollectionListener

Unregisters listener so that it will no longer receive collection events. (Inherited from NamedCollection.)

set

Sets the element at the specified index.

size

Gets the number of items in the collection. (Inherited from UndoableCollection.)

 Protected Methods

  Name Description

getWorkbook

Gets a reference to the parent Workbook object. (Inherited from UndoableCollection.)

onCollectionChanged

  (Inherited from NamedCollection.)

trackAdd

Adds the specified item to the collection. If undo is enabled, the item is added through a command. Otherwise, the item is added directly. (Inherited from UndoableCollection.)

trackClear

Clears the collection. If undo is enabled, the collection is cleared through a command. Otherwise, the collection is cleared directly. (Inherited from UndoableCollection.)

trackMove

Moves the specified item to another position. If undo is enabled, the item is moved through a command. Otherwise, the item is moved directly. (Inherited from UndoableCollection.)

trackRemove

Removes the specified item to the collection. If undo is enabled, the item is removed through a command. Otherwise, the item is removed directly. (Inherited from UndoableCollection.)

trackReplace

Removes the specified item in the collection. If undo is enabled, the item is replaced through a command. Otherwise, the item is replaced directly. (Inherited from UndoableCollection.)

 See Also