다음을 통해 공유


PageLayoutCollection.GetLayoutFileName Method

Returns the file name with the default page layout file name extension appended.

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

Syntax

'Declaration
Protected Function GetLayoutFileName ( _
    nameWithNoExtention As String _
) As String
'Usage
Dim nameWithNoExtention As String
Dim returnValue As String

returnValue = Me.GetLayoutFileName(nameWithNoExtention)
protected string GetLayoutFileName(
    string nameWithNoExtention
)

Parameters

  • nameWithNoExtention
    Type: System.String

    A string that contains the page layout file name without an extension.

Return Value

Type: System.String
A string that contains the file name with the default page layout file name extension appended.

See Also

Reference

PageLayoutCollection Class

PageLayoutCollection Members

Microsoft.SharePoint.Publishing Namespace