Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.StringA 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.