PublishingPage.Label Property

Gets the VariationLabel in whose hierarchy this PublishingWeb object is situated.

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

Syntax

'Declaration
Public ReadOnly Property Label As VariationLabel
    Get
'Usage
Dim instance As PublishingPage
Dim value As VariationLabel

value = instance.Label
public VariationLabel Label { get; }

Property Value

Type: Microsoft.SharePoint.Publishing.VariationLabel
The VariationLabel that is associated with the PublishingPage. Returns a null reference (Nothing in Visual Basic) if the PublishingWeb is not a VariationPublishingPage.

See Also

Reference

PublishingPage Class

PublishingPage Members

Microsoft.SharePoint.Publishing Namespace