Compartilhar via


TermStore.WorkingLanguage Property

Gets or sets the current working language of the TermStore object.

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

Syntax

'Declaration
Public Property WorkingLanguage As Integer
    Get
    Set
'Usage
Dim instance As TermStore
Dim value As Integer

value = instance.WorkingLanguage

instance.WorkingLanguage = value
public int WorkingLanguage { get; set; }

Property Value

Type: System.Int32
Returns Int32.

Remarks

The WorkingLanguage is one of the LCIDs in the Languages collection. Values that are not present in the Languages collection are skipped.If a WorkingLanguage is not explicitly set, it defaults to the LCID of the current UI culture if it is one of the Languages, or alternately it defaults to the DefaultLanguage. Setting the WorkingLanguage only has affect during the lifetime of this current TermStore instance. The value is not persisted to the database. It is useful for purposes of switching languages temporarily in user interface code.

See Also

Reference

TermStore Class

TermStore Members

Microsoft.SharePoint.Taxonomy Namespace

DefaultLanguage