共用方式為


SP.WebCollection.item Property

Applies to: SharePoint Foundation 2010

Gets the website at the specified index of the collection.

var value = SP.WebCollection.get_item(index);

Parameters

index

Type: int

The zero-based index of the website in the collection.

Property Value

Type: SP.Web

The website at the specified index of the collection.

Applies To

SP.WebCollection Class

See Also

Reference

SP.WebCollection Methods

SP.WebCollection Properties

SP Namespace