CodeMask Collection Object

OutlineCode
CodeMask
CodeMaskLevel

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

Using the CodeMask Object

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

Using the CodeMask Collection Object

Use the CodeMask property to return a CodeMask collection.

Properties | Application Property | Count Property | Item Property | Parent Property

Methods | Add Method

Parent Objects | OutlineCode Object, OutlineCodes Collection Object

Child Objects | CodeMaskLevel Object

See Also | CodeMask Property