LookupTableDataSet.LookupTablesRow.LT_SORT_ORDER_ENUM Property
Indicates the sort order of the lookup table, specified by the LookupTables.SortOrder enumeration.
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_SORT_ORDER_ENUM As Byte
Get
Set
'Usage
Dim instance As LookupTableDataSet.LookupTablesRow
Dim value As Byte
value = instance.LT_SORT_ORDER_ENUM
instance.LT_SORT_ORDER_ENUM = value
public byte LT_SORT_ORDER_ENUM { get; set; }
Property Value
Type: System.Byte
Remarks
To help understand the LT_SORT_ORDER_ENUM property, suppose lut is a LookupTableWS.LookupTableDataSet object that contains one lookup table (LookupTableWS is the name for a reference to the LookupTable Web service).
If you serialize lut to an XML file, the LookupTables element has the following values.
<LookupTables>
<LT_UID>5ee9b465-489c-4083-bb26-0694918103f6</LT_UID>
<LT_NAME>Location</LT_NAME>
<LT_SORT_ORDER_ENUM>1</LT_SORT_ORDER_ENUM>
<LT_PRIMARY_LCID>1033</LT_PRIMARY_LCID>
<LT_FILL_ALL_LEVELS>false</LT_FILL_ALL_LEVELS>
<LT_CHECKOUTDATE>2011-08-28T10:19:47.72-07:00</LT_CHECKOUTDATE>
<MOD_DATE>2011-08-28T10:19:00.59-07:00</MOD_DATE>
</LookupTables>
The LT_SORT_ORDER_ENUM value 1 indicates an ascending sort order.
For more information, see Walkthrough: Creating a Hierarchical Lookup Table.
See Also
Reference
LookupTableDataSet.LookupTablesRow Class