Share via


PublishingWebCollection Members

Include Protected Members
Include Inherited Members

Represents a collection of PublishingWeb objects.

The PublishingWebCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of items in the collection. (Inherited from CollectionBase.)
Public property Item[Int32] Uses a zero-based integer index to get a PublishingWeb object from this PublishingWebCollection object.
Public property Item[String] Gets a PublishingWeb object from this PublishingWebCollection object using a string index.

Top

Methods

  Name Description
Public method Add(String) Creates a child PublishingWeb object in the parent PublishingWeb object of this collection.
Public method Add(String, UInt32, String) Creates a child PublishingWeb object based on the specified Web template.
Public method Delete Deletes a PublishingWeb object with the given URL from the parent PublishingWebobject of this collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that can iterate through this CollectionBase instance. (Inherited from CollectionBase.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

PublishingWebCollection Class

Microsoft.SharePoint.Publishing Namespace