PublishingPageCollection members

Represents a collection of PublishingPage objects.

The PublishingPageCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of items in the collection. (Inherited from CollectionBase<T>.)
Public property IsSynchronized Gets whether the collection is synchronized. (Inherited from CollectionBase<T>.)
Public property Item[Int32] Gets the item at the specified index. (Inherited from CollectionBase<T>.)
Public property Item[Guid] Gets an item by its unique identifier (ID). (Inherited from QueryBasedCollection<T>.)
Public property Item[String] Gets an item by its Web-relative URL. (Inherited from QueryBasedCollection<T>.)
Public property PubWeb Gets the PublishingWeb object that contains this PublishingWeb object.
Public property RowLimit Gets the maximum number of items that can be contained in a collection that is using data paging. (Inherited from QueryBasedCollection<T>.)
Public property SyncRoot Gets the object that can be used to synchronize access to this collection. (Inherited from CollectionBase<T>.)

Top

Methods

  Name Description
Public method Add(String, PageLayout) Creates a new PublishingPage in the PublishingPageCollection of the PublishingWeb object.
Public method Add(String, SPFile, Guid, PageConversionPriority) Obsolete. Creates a new PublishingPage in the PublishingPageCollection of the PublishingWeb by converting a source document.
Public method Add(String, SPFile, Guid, String, PageConversionPriority) Obsolete. Creates a new PublishingPage in the PublishingPageCollection of the PublishingWeb b by converting a source document according to the settings that are passed.
Public method CopyTo Copies the internal collection to the specified array, starting at the specified index. (Inherited from CollectionBase<T>.)
Protected method EnsureItemIsUnique Verifies whether the current item has already been retrieved. (Inherited from QueryBasedCollection<T>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns a generic enumerator that can iterate through this generic CollectionBase instance. (Inherited from CollectionBase<T>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method QueryNext Advances the collection to the next subset of paged data. (Inherited from QueryBasedCollection<T>.)
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Gets an enumerator that can iterate through the CollectionBase. (Inherited from CollectionBase<T>.)

Top

See also

Reference

PublishingPageCollection class

Microsoft.SharePoint.Publishing namespace