PageLayoutCollection Methods

Include Protected Members
Include Inherited Members

The PageLayoutCollection type exposes the following members.


  Name Description
Public method Add(String, SPContentTypeId) Creates and adds a new PageLayout object.
Public method Add(String, SPContentTypeId, String) Creates and adds a new PageLayout object.
Public method Contains Determines whether a PageLayout object with a specific name exists in the specified SPFolder object.
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 object from a given SPFolder object.
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.)
Protected method GetLayoutFileName Returns the file name with the default page layout file name extension appended.
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 object.
Public method ToString (Inherited from Object.)


Explicit Interface Implementations

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


See Also


PageLayoutCollection Class

Microsoft.SharePoint.Publishing Namespace