Share via


SP.BaseCollection.getEnumerator() Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Gets the enumerator to the current collection.

var value = SP.BaseCollection.getEnumerator();

Return Value

Type: Ienumerator

The enumerator to the current collection.

Remarks

This method gets an enumerator that iterates through the items of this collection. The enumerator can used to modify the state of the items of the collection, but it cannot be used to add items to or delete items from the collection.

Applies To

SP.BaseCollection Class

See Also

Reference

SP.BaseCollection Methods

SP.BaseCollection Properties

SP Namespace