SPWebCollection methods
SharePoint 2013
The SPWebCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add(String) | Creates an SPWeb object with the specified website-relative URL. |
|
Add(String, String, String, UInt32, SPWebTemplate, Boolean, Boolean) | Creates an SPWeb object with the specified site-relative URL, title, description, locale ID, and site definition or site template object. |
|
Add(String, String, String, UInt32, String, Boolean, Boolean) | Creates a website with the specified site-relative URL, title, description, locale ID, and site definition or site template name. |
|
Delete | Deletes the website with the specified website-relative URL from the collection. |
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetEnumerator | Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
GetTypedEnumerator<T> | Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
ICollection.CopyTo | Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.) |
|
IEnumerable<SPWeb>.GetEnumerator | Returns a strongly typed enumerator that iterates through the collection. |