SP.ViewCollection.itemAt(index) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Gets the list view at the specified index in the collection.

var value = SP.ViewCollection.itemAt(index);

Parameters

index

Type: int

The zero-based index of the list view.

Return Value

Type: SP.View

The list view at the specified index.

Exceptions

ArgumentOutOfRangeException

index is less than 0 or greater than the number of elements in the collection.

Remarks

This method returns the list view at the index specified by the index parameter.

Applies To

SP.ViewCollection Class

See Also

Reference

SP.ViewCollection Methods

SP.ViewCollection Properties

SP Namespace