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 VariationLabel Label { get; }

Property Value

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

The return value is Null if the PublishingWeb is not located within a Variation Hierarchy.

Community Additions