Share 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