PublishingWeb.Label property

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

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


Public ReadOnly Property Label As VariationLabel
Dim instance As PublishingWeb
Dim value As VariationLabel

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

Property value

Type: Microsoft.SharePoint.Publishing.VariationLabel
The VariationLabel that is associated with this PublishingWeb.


The return value is a null reference (Nothing in Visual Basic) if the PublishingWeb is not located within a Variation Hierarchy.

See also


PublishingWeb class

PublishingWeb members

Microsoft.SharePoint.Publishing namespace