SPWebCollection Members
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 Web sites that are represented in the collection. (Overrides SPBaseCollection.Count.) | |
Item[Guid] | Gets the Web site object with the specified GUID from the collection. In C#, this property is an indexer for the SPWebCollection class. | |
Item[Int32] | Gets the Web site object at the specified index in the collection. In C#, this property is an indexer for the SPWebCollection class. | |
Item[String] | Gets the Web site object with the specified site-relative URL from the collection. | |
Names | Gets an array that contains the site-relative URLs of all the Web sites in the collection. | |
UpgradedPersistedProperties | Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.) |
Top
Methods
Name | Description | |
---|---|---|
Add(String) | Creates a Web site object with the specified Web site-relative URL. | |
Add(String, String, String, UInt32, SPWebTemplate, Boolean, Boolean) | Creates a Web site 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 Web site object with the specified site-relative URL, title, description, locale ID, and site definition or site template name. | |
Delete | Deletes the Web site object with the specified Web site-relative URL from the collection. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Retrieves the data required to serialize the object. (Inherited from SPAutoSerializingObject.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnDeserialization | Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.) | |
ToString | (Inherited from Object.) | |
UpdateParent | Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection.CopyTo | (Inherited from SPBaseCollection.) | |
IEnumerable.GetEnumerator | (Inherited from SPBaseCollection.) | |
ICollection.IsSynchronized | (Inherited from SPBaseCollection.) | |
ICollection.SyncRoot | (Inherited from SPBaseCollection.) |
Top