Share via


PageLayoutCollection.FileExtension property

Gets the default file name extension for PageLayout objects.

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

Syntax

'Declaration
Protected Overridable ReadOnly Property FileExtension As String
    Get
'Usage
Dim value As String

value = Me.FileExtension
protected virtual string FileExtension { get; }

Property value

Type: System.String
A String that represents the default file name extension.

Remarks

This is set to ".aspx" unless overridden.

See also

Reference

PageLayoutCollection class

PageLayoutCollection members

Microsoft.SharePoint.Publishing namespace