PublishingPage.Name property

Gets the URL name for this PublishingPage object.

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

'Declaration
Public ReadOnly Property Name As String
	Get
'Usage
Dim instance As PublishingPage
Dim value As String

value = instance.Name

Property value

Type: System.String
The URL name for this PublishingPage object.

The Name property is initialized when a PublishingPage is created (see [M:Microsoft.SharePoint.Publishing.PublishingPageCollection.Add(System.String,Microsoft.SharePoint.Publishing.PageLayout]) and cannot be modified.

If this property value is used in HTML to be rendered in a browser, you should encode the property value in HTML to avoid the possibility of scripting attacks.

The user must have View permissions on the PublishingPage to retrieve it and return its property values.

Show: