TaxonomyNavigation.GetNavigationLcidForWeb method

Returns the language code identifier (LCID) that the taxonomy navigation system will use when it reads the Term object for the specified Web object.

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

Syntax

'Declaration
Public Shared Function GetNavigationLcidForWeb ( _
    context As ClientRuntimeContext, _
    web As Web _
) As ClientResult(Of Integer)
'Usage
Dim context As ClientRuntimeContext
Dim web As Web
Dim returnValue As ClientResult(Of Integer)

returnValue = TaxonomyNavigation.GetNavigationLcidForWeb(context, _
    web)
public static ClientResult<int> GetNavigationLcidForWeb(
    ClientRuntimeContext context,
    Web web
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<Int32>
LCID

Remarks

The GetNavigationLcidForWeb(Web) method should be assigned as the TermStore.WorkingLanguage property when making changes to the NavigationTermSet object. If the variations feature is active, then this method is based on the Locale property. Otherwise, it returns the Language property.

See also

Reference

TaxonomyNavigation class

TaxonomyNavigation members

Microsoft.SharePoint.Client.Publishing.Navigation namespace