OutlineCodes.Add Method (Project)

Adds an OutlineCode object to an OutlineCodes collection.

Syntax

expression. Add( _FieldID_, _Name_ )

expression A variable that represents an 'OutlineCodes' object.

Parameters

Name Required/Optional Data Type Description
FieldID Required Long Specifies the type of custom field for the outline code. Can be one of the PjCustomField constants.
Name Required String The name of the outline code to add.

Return Value

OutlineCode

See also

OutlineCodes Collection Object