Share via


PageLayoutCollection Members

Include Protected Members
Include Inherited Members

A collection of PageLayout objects.

The PageLayoutCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of items in the collection. (Inherited from CollectionBase<T>.)
Protected property FileExtension
Public property IsSynchronized Returns 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] Retrieves an item by its unique ID. (Inherited from QueryBasedCollection<T>.)
Public property Item[String] Retrieves an item by its Web-relative URL. (Inherited from QueryBasedCollection<T>.)
Public property LayoutsDocumentLibrary Gets the SPDocumentLibrary where the PageLayout objects in this PageLayoutCollection are stored.
Protected property MasterGalleryFolder
Protected property PreviewImageFolder
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>.)
Protected property Site
Public property SyncRoot Returns the object that can be used to synchronize access to this collection. (Inherited from CollectionBase<T>.)

Top

Methods

  Name Description
Public method Add(String, SPContentTypeId) Creates and adds a new PageLayout.
Public method Add(String, SPContentTypeId, String) Creates and adds a new PageLayout.
Public method Contains Determines if a PageLayout with a specific name exists in the specified SPFolder.
Public method CopyTo Copies the internal collection to the specified array, starting at the specified index. (Inherited from CollectionBase<T>.)
Public method Delete Removes a PageLayout from a given SPFolder.
Protected method EnsureItemIsUnique Used to verify 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.)
Protected method GetLayoutFileName
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 ToArray Creates an array of the PageLayout objects in this PageLayoutCollection.
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from CollectionBase<T>.)

Top

See Also

Reference

PageLayoutCollection Class

Microsoft.SharePoint.Publishing Namespace