OutlineCodes.Add Method
Project Developer Reference |
Adds an OutlineCode object to 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 new OutlineCode. Can be one of the PjCustomField constants.
Note
An entry in the table such as pjCustomProjectEnterpriseCost1 - 10 means there are 10 constants, pjCustomProjectEnterpriseCost1 through pjCustomProjectEnterpriseCost10.
|
Note | |||
An entry in the table such as pjCustomProjectEnterpriseCost1 - 10 means there are 10 constants, pjCustomProjectEnterpriseCost1 through pjCustomProjectEnterpriseCost10. | |||
Name | Required | String | The name of the OutlineCode to add. |
Return Value
OutlineCode
See Also