PageLayoutCollection Class
Creates a collection of PageLayout objects.
System.Object
Microsoft.SharePoint.Publishing.CollectionBase<PageLayout>
Microsoft.SharePoint.Publishing.QueryBasedCollection<PageLayout>
Microsoft.SharePoint.Publishing.PageLayoutCollection
Microsoft.SharePoint.Publishing.CollectionBase<PageLayout>
Microsoft.SharePoint.Publishing.QueryBasedCollection<PageLayout>
Microsoft.SharePoint.Publishing.PageLayoutCollection
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
This collection provides integer, string, and GUID indexer methods and supports foreach enumeration (For Each in Visual Basic) and a Count property that you can use when explicitly iterating over the collection. The PageLayoutCollection can be retrieved from methods such as GetPageLayouts, GetPageLayouts, and PageLayouts.