Share via


LookupTableDataSet.LookupTableMasksRow.LT_MASK_STRUCT_LEVEL Property

Outline level of the code mask.

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

Syntax

'Declaration
Public Property LT_MASK_STRUCT_LEVEL As Integer
    Get
    Set
'Usage
Dim instance As LookupTableDataSet.LookupTableMasksRow
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

Suppose lut is a LookupTableWS.LookupTableDataSet object which contains three lookup table mask rows (LookupTableWS is the name for a reference to the LookupTable Web service). If the full value of a lookup table entry is WA.King.Redmond, for example, and the code mask preview in the Edit Lookup Table page of Project Web Access is AA.*.*, then

  • lut.LookupTableMasks[0].LT_MASK_STRUCT_LEVEL = 1,

  • lut.LookupTableMasks[1].LT_MASK_STRUCT_LEVEL = 2, and

  • lut.LookupTableMasks[2].LT_MASK_STRUCT_LEVEL = 3.

If you serialize lut to an XML file, the LookupTableMasks elements have the following values.

<LookupTableMasks>
    <LT_UID>5ee9b465-489c-4083-bb26-0694918103f6</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>
    <LT_MASK_VALUE_SEPARATOR>.</LT_MASK_VALUE_SEPARATOR>
</LookupTableMasks>
<LookupTableMasks>
    <LT_UID>5ee9b465-489c-4083-bb26-0694918103f6</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>
    <LT_MASK_VALUE_SEPARATOR>.</LT_MASK_VALUE_SEPARATOR>
</LookupTableMasks>
<LookupTableMasks>
    <LT_UID>5ee9b465-489c-4083-bb26-0694918103f6</LT_UID>
    <LT_MASK_STRUCT_LEVEL>3</LT_MASK_STRUCT_LEVEL>
    <LT_MASK_STRUCT_TYPE_ENUM>3</LT_MASK_STRUCT_TYPE_ENUM>
    <LT_MASK_STRUCT_LENGTH>0</LT_MASK_STRUCT_LENGTH>
    <LT_MASK_VALUE_SEPARATOR>.</LT_MASK_VALUE_SEPARATOR>
</LookupTableMasks>

For more information and examples, see Walkthrough: Creating a Hierarchical Lookup Table.

See Also

Reference

LookupTableDataSet.LookupTableMasksRow Class

LookupTableDataSet.LookupTableMasksRow Members

WebSvcLookupTable Namespace