LookupTableConstants enumeration

Office 2013 and later

Specifies the maximum values and the minimum values for lookup table entities.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

public enum LookupTableConstants

Member nameDescription
MaxSeparatorLengthValue=3. The maximum length of any separator in a code mask.
AnyLengthSequenceValue=0. The length that is specified for a code mask sequence, if any length is acceptable.
MinValueLengthValue=1. The minimum length of an outline code value.
MaxValueLengthValue=255. The maximum length of an outline code value.
MaxDescriptionLengthValue=255. The maximum length of a description on an outline code lookup table item.
MinLevelValue=1. The minimum number of levels in an outline code.
MaxLevelValue=255. The maximum number of levels in an outline code.
NoSortOrderValue=0. Specifies the default lookup table sort order, which is no sort order.

The LookupTableConstants enumeration in the CSOM is equivalent to LookupTableConstants in the Microsoft.Office.Project.Server.Library namespace. The LookupTableConstants values can be used to help validate or set some properties of lookup table items, such as the following: