Compartilhar via


SP.EnumerableArray Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.EnumerableArray class.

Methods

Name

Description

add

Appends a new element to the SP.EnumerableArray object.

addRange

Appends the values of all the elements of a specified Array object to the end of the SP.EnumerableArray object.

clear

Removes all elements from the SP.EnumerableArray object.

contains

Determines whether the specified object exists as an element in the SP.EnumerableArray object.

EnumerableArray

Initializes a new instance of the SP.EnumerableArray class with the specified array.

getEnumerator

Gets an enumerator that enumerates all the elements in the SP.EnumerableArray object.

indexOf

Gets the index of the specified value in the SP.EnumerableArray object.

insert

Inserts a value into the SP.EnumerableArray object at the specified location.

remove

Removes the first occurrence of the specified item from the SP.EnumerableArray object.

removeAt

Removes an element from the SP.EnumerableArray object at a specified index location.

toArray

Converts the enumerable array to an Array.

toArrayList

Converts the enumerable array to an ArrayList.

Applies To

SP.EnumerableArray Class

See Also

Reference

SP.EnumerableArray Properties

SP Namespace