Partilhar via


Variations.UserAccessibleLabels Property

Returns a collection of objects whose hierarchy has been created and is accessible to the current user.

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

Syntax

'Declaration
Public ReadOnly Property UserAccessibleLabels As ReadOnlyCollection(Of VariationLabel)
    Get
'Usage
Dim instance As Variations
Dim value As ReadOnlyCollection(Of VariationLabel)

value = instance.UserAccessibleLabels
public ReadOnlyCollection<VariationLabel> UserAccessibleLabels { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<VariationLabel>

Examples

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

See Also

Reference

Variations Class

Variations Members

Microsoft.SharePoint.Publishing Namespace

Variations

Current