Share via


LookupTableMultiLangDataSet.LookupTableLanguagesRow.LCID Property

Specifies one of the locale identifier values in a multilanguage lookup table.

Namespace:  [LookupTable Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/LookupTable.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/LookupTable.asmx?wsdl

Syntax

'Declaration
Public Property LCID As Integer
    Get
    Set
'Usage
Dim instance As LookupTableMultiLangDataSet.LookupTableLanguagesRow
Dim value As Integer

value = instance.LCID

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

Property Value

Type: System.Int32

Remarks

There should be one LookupTableValues row for each LCID value in a multilanguage lookup table.

To help understand the LCID property, suppose mlut is a LookupTableWS.LookupTableMultiLangDataSet object which contains one lookup table with French, German, and Spanish values (LookupTableWS is the name for a reference to the LookupTable Web service).

If you serialize mlut to an XML file, the LookupTableMultiLangDataSet element includes the following child elements.

<LookupTableLanguages>
    <LT_UID>1796cacc-5406-4c93-80cb-e7fb1271d32a</LT_UID>
    <LCID>1031</LCID>
</LookupTableLanguages>
<LookupTableLanguages>
    <LT_UID>1796cacc-5406-4c93-80cb-e7fb1271d32a</LT_UID>
    <LCID>1034</LCID>
</LookupTableLanguages>
<LookupTableLanguages>
    <LT_UID>1796cacc-5406-4c93-80cb-e7fb1271d32a</LT_UID>
    <LCID>1036</LCID>
</LookupTableLanguages>

For a list of LCIDs, see Locale ID (LCID) Chart in the MSDN Library. To create an example of a multilanguage lookup table on a test installation of Project Server, see Using the ProjTool Test Application in Project Server 2010. For a code sample that creates a multilanguage lookup table, see CreateLookupTablesMultiLang.

See Also

Reference

LookupTableMultiLangDataSet.LookupTableLanguagesRow Class

LookupTableMultiLangDataSet.LookupTableLanguagesRow Members

LookupTable Web Service