SPWebCollection properties

The SPWebCollection type exposes the following members.

  Name Description
Public property Count Gets the number of websites that are represented in the collection. (Overrides SPBaseCollection.Count.)
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.
Public property Names Gets an array that contains the site-relative URLs of all the websites in the collection.
Public property WebsInfo List of SPWebInfo objects representing the SPWeb objects in the collection.
Top

  Name Description
Explicit interface implemetation Private property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetation Private property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)
Top
Show: