次の方法で共有


LookupTableMultiLangDataSet.LookupTableMaskStructuresRow.LT_MASK_STRUCT_LEVEL Property

Specifies the outline level of the code mask structure.

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 LT_MASK_STRUCT_LEVEL As Integer
    Get
    Set
'Usage
Dim instance As LookupTableMultiLangDataSet.LookupTableMaskStructuresRow
Dim value As Integer

value = instance.LT_MASK_STRUCT_LEVEL

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

Property Value

Type: System.Int32

Remarks

If the full value of a lookup table node is "WA^Redmond", for example, the level 1 node value is "WA", the level 2 node value is "Redmond", and the separator character is the circumflex accent ("^"). The code mask structure for level 1 is two uppercase letters and the code mask structure for level 2 is any number of characters.

To help understand the LT_MASK_STRUCT_LEVEL property, suppose mlut is a LookupTableWS.LookupTableMultiLangDataSet object that contains lookup table mask structures for level 1 and level 2 (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.

<LookupTableMaskStructures>
    <LT_UID>1796cacc-5406-4c93-80cb-e7fb1271d32a</LT_UID>
    <LT_MASK_STRUCT_LEVEL>1</LT_MASK_STRUCT_LEVEL>
    <LT_MASK_STRUCT_TYPE_ENUM>1</LT_MASK_STRUCT_TYPE_ENUM>
    <LT_MASK_STRUCT_LENGTH>2</LT_MASK_STRUCT_LENGTH>
</LookupTableMaskStructures>
<LookupTableMaskStructures>
    <LT_UID>1796cacc-5406-4c93-80cb-e7fb1271d32a</LT_UID>
    <LT_MASK_STRUCT_LEVEL>2</LT_MASK_STRUCT_LEVEL>
    <LT_MASK_STRUCT_TYPE_ENUM>3</LT_MASK_STRUCT_TYPE_ENUM>
    <LT_MASK_STRUCT_LENGTH>0</LT_MASK_STRUCT_LENGTH>
</LookupTableMaskStructures>

For a description of how to create 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.LookupTableMaskStructuresRow Class

LookupTableMultiLangDataSet.LookupTableMaskStructuresRow Members

LookupTable Web Service