Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Represents a collection of SPWeb objects.
The SPWebCollection type exposes the following members.
Properties
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. |
Top
Methods
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.) |
![]() |
GetObjectData | (Inherited from SPAutoSerializingObject.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
GetTypedEnumerator<T> | Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnDeserialization | (Inherited from SPAutoSerializingObject.) |
![]() |
ToString | (Inherited from Object.) |
![]() |
UpdateParent | (Inherited from SPAutoSerializingObject.) |
Top
Explicit Interface Implementations
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. |
![]() ![]() |
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.) |
Top