Export (0) Print
Expand All

SPWebCollection Members

Windows SharePoint Services 3

Represents a collection of SPWeb objects.

The SPWebCollection type exposes the following members.

  NameDescription
Public property Count Gets the number of Web sites that are represented in the collection. (Overrides SPBaseCollection.Count.)
Public property 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.
Public property 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.
Public property Item[String] Gets the Web site object with the specified site-relative URL from the collection.
Public property Names Gets an array that contains the site-relative URLs of all the Web sites in the collection.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)
Top

  NameDescription
Public method Add(String) Creates a Web site object with the specified Web site-relative URL.
Public method 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.
Public method 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.
Public method Delete Deletes the Web site object with the specified Web site-relative URL from the collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Retrieves the data required to serialize the object. (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft