VObjectCollection Members

The VObjectCollection type exposes the following members.

Methods

Name Description
Public method addRange

Adds the specified items to the end of the collection.

(Inherited from Collection.)
Public method clear

Removes all v-objects from the collection.

Public method contains

Determines whether the specified item is in the collection.

(Inherited from Collection.)
Public method getVObjectById
Public method getVObjectsByName

Search v-objects with the specified name.

Public method indexOf

Searches for the specified item and returns the zero-based index of the first occurrence within the entire collection.

(Inherited from Collection.)
Public method insert

Inserts a v-object into the collection at the specified index.

Public method move

Moves a v-object from one position to another.

Public method push

Pushes the specified item to the collection.

(Inherited from Collection.)
Public method removeAt

Removes the v-object at the specified index of the collection.

Public method toArray (Inherited from Collection.)

Properties

Name Description
Public property count

Gets the number of items actually contained in the collection.

(Inherited from Collection.)
Public property item

Gets the item at the specified index.

(Inherited from Collection.)

Events

Name Description
Public event itemAdded

Fires when the an item is added to the collection.

(Inherited from Collection.)
Public event itemMoved

Fires when the an item is moved from one position to another.

(Inherited from Collection.)
Public event itemRemoved

Fires when the an item is removed from the collection.

(Inherited from Collection.)

See Also

Reference