CodeMaskLevel Object (Project)

Represents a level in the code mask of an outline code definition. The CodeMaskLevel object is a member of the CodeMask collection.

Example

The following example adds three levels to a code mask.

Sub DefineLocationCodeMask(objCodeMask As CodeMask) 
 
 objCodeMask.Add _ 
 Sequence:=pjCustomOutlineCodeUppercaseLetters, _ 
 Length:=2, Separator:="." 
 
 objCodeMask.Add _ 
 Sequence:=pjCustomOutlineCodeUppercaseLetters, _ 
 Separator:="." 
 
 objCodeMask.Add _ 
 Sequence:=pjCustomOutlineCodeUppercaseLetters, _ 
 Length:=3, Separator:="." 
End Sub