Variations.Current Property
Static property on the class that returns an object instance of Variations.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Shared ReadOnly Property Current As Variations
Get
'Usage
Dim value As Variations
value = Variations.Current
public static Variations Current { get; }
Property Value
Type: Microsoft.SharePoint.Publishing.Variations
Examples
Reference code on how to use this property can be found in "/_controltemplates/VariationRootLanding.ascx".