Share via


VariationLabel.TopWebUrl property

Returns the URL of the top Publishing Web of the variation hierarchy of this label.

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

Syntax

'Declaration
Public ReadOnly Property TopWebUrl As String
    Get
'Usage
Dim instance As VariationLabel
Dim value As String

value = instance.TopWebUrl
public string TopWebUrl { get; }

Property value

Type: System.String
URL of the top Publishing Web of the variation hierarchy of this label.

Examples

            Reference code on how to use this property can be found in "/_controltemplates/VariationRootLanding.ascx".
            

See also

Reference

VariationLabel class

VariationLabel members

Microsoft.SharePoint.Publishing namespace