Share via


SPWebCollection.Item property

Gets the specified element from the collection.

Overload list

  Name Description
Public property Item[Guid] Gets the element with the specified GUID from the collection. In C#, this property is an indexer for the SPWebCollection class.
Public property Item[Int32] Gets the element at the specified index in the collection. In C#, this property is an indexer for the SPWebCollection class.
Public property Item[String] Gets the element with the specified site-relative URL from the collection.

Top

See also

Reference

SPWebCollection class

SPWebCollection members

Microsoft.SharePoint namespace