LookupTableMultiLangDataSet.LookupTableMaskStructuresRow.LT_MASK_STRUCT_LENGTH Property

Number of characters, numbers, or letters in the code mask.

Namespace:  WebSvcLookupTable
Assembly:  ProjectServerWebServices (in ProjectServerWebServices.dll)

Syntax

'Declaration
Public Property LT_MASK_STRUCT_LENGTH As Integer
    Get
    Set
'Usage
Dim instance As LookupTableMultiLangDataSet.LookupTableMaskStructuresRow
Dim value As Integer

value = instance.LT_MASK_STRUCT_LENGTH

instance.LT_MASK_STRUCT_LENGTH = value
public int LT_MASK_STRUCT_LENGTH { 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.

If LT_MASK_STRUCT_LENGTH = 0, Project Web Access shows the length is Any in the Code mask grid on the Edit Lookup Table page.

Suppose mlut is a LookupTableWS.LookupTableMultiLangDataSet object which contains two lookup table mask structures (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>

To create an example of a multilanguage lookup table on a test installation of Project Server, see Lookup Tables in Using the ProjTool Test Application.

See Also

Reference

LookupTableMultiLangDataSet.LookupTableMaskStructuresRow Class

LookupTableMultiLangDataSet.LookupTableMaskStructuresRow Members

WebSvcLookupTable Namespace