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".