CodeMask Object (Project)

The CodeMask object is a collection of CodeMaskLevel objects that define the code mask for an outline code in Project.

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

Community Additions

ADD
Show:
© 2014 Microsoft