PageLayoutCollection Members
Include Protected Members
Include Inherited Members
Creates a collection of PageLayout objects.
The PageLayoutCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of items in the collection. (Inherited from CollectionBase<T>.) | |
FileExtension | Gets the default file name extension for PageLayout objects. | |
IsSynchronized | Gets whether the collection is synchronized. (Inherited from CollectionBase<T>.) | |
Item[Int32] | Gets the item at the specified index. (Inherited from CollectionBase<T>.) | |
Item[Guid] | Gets an item by its unique identifier (ID). (Inherited from QueryBasedCollection<T>.) | |
Item[String] | Gets an item by its Web-relative URL. (Inherited from QueryBasedCollection<T>.) | |
LayoutsDocumentLibrary | Gets the SPDocumentLibrary where the PageLayout objects in this PageLayoutCollection are stored. | |
MasterGalleryFolder | Gets or sets the name of the folder that contains the master page gallery. | |
PreviewImageFolder | Gets or sets the name of the folder that contains preview images. | |
RowLimit | Gets the maximum number of items that can be contained in a collection that is using data paging. (Inherited from QueryBasedCollection<T>.) | |
Site | Gets the name of the site. | |
SyncRoot | Gets the object that can be used to synchronize access to this collection. (Inherited from CollectionBase<T>.) |
Top
Methods
Name | Description | |
---|---|---|
Add(String, SPContentTypeId) | Creates and adds a new PageLayout object. | |
Add(String, SPContentTypeId, String) | Creates and adds a new PageLayout object. | |
Contains | Determines whether a PageLayout object with a specific name exists in the specified SPFolder object. | |
CopyTo | Copies the internal collection to the specified array, starting at the specified index. (Inherited from CollectionBase<T>.) | |
Delete | Removes a PageLayout object from a given SPFolder object. | |
EnsureItemIsUnique | Verifies whether the current item has already been retrieved. (Inherited from QueryBasedCollection<T>.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Returns a generic enumerator that can iterate through this generic CollectionBase instance. (Inherited from CollectionBase<T>.) | |
GetHashCode | (Inherited from Object.) | |
GetLayoutFileName | Returns the file name with the default page layout file name extension appended. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
QueryNext | Advances the collection to the next subset of paged data. (Inherited from QueryBasedCollection<T>.) | |
ToArray | Creates an array of the PageLayout objects in this PageLayoutCollection object. | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | Gets an enumerator that can iterate through the CollectionBase. (Inherited from CollectionBase<T>.) |
Top