SPWebCollection Properties
The SPWebCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
Count | Gets the number of websites that are represented in the collection. (Overrides SPBaseCollection.Count.) |
|
Item[Guid] | Gets the element with the specified GUID from the collection. In C#, this property is an indexer for the SPWebCollection class. |
|
Item[Int32] | Gets the element at the specified index in the collection. In C#, this property is an indexer for the SPWebCollection class. |
|
Item[String] | Gets the element with the specified site-relative URL from the collection. |
|
Names | Gets an array that contains the site-relative URLs of all the websites in the collection. |
|
UpgradedPersistedProperties | (Inherited from SPAutoSerializingObject.) |
|
WebsInfo | List of SPWebInfo objects representing the SPWeb objects in the collection. |
| Name | Description | |
|---|---|---|
|
ICollection.IsSynchronized | Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.) |
|
ICollection.SyncRoot | Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.) |