PageLayoutCollection.ToArray Method

Creates an array of the PageLayout objects in this PageLayoutCollection object.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Function ToArray As PageLayout()
'Usage
Dim instance As PageLayoutCollection
Dim returnValue As PageLayout()

returnValue = instance.ToArray()
public PageLayout[] ToArray()

Return Value

Type: []
An array of the PageLayout objects in this PageLayoutCollection.

See Also

Reference

PageLayoutCollection Class

PageLayoutCollection Members

Microsoft.SharePoint.Publishing Namespace