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