OutlineCode Members (Project)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Methods

Name

Description

Delete

Deletes the OutlineCode object from an OutlineCodes collection.

Properties

Name

Description

Application

Gets the Application object. Read-only Application.

CodeMask

Gets a CodeMask collection representing the code mask for an outline code in Project. Read-only CodeMask.

DefaultValue

Gets or sets the default value of the OutlineCode object. Read/write String.

FieldID

Gets the identification number of the local outline code. Read-only PjCustomField.

Index

Gets the index of an OutlineCode object in the containing OutlineCodes collection. Read-only Long.

LinkedFieldID

Gets or sets the outline code field ID for a linked lookup table. Obsolete in Project. Read/write Long.

LookupTable

Gets a LookupTable collection of lookup table entries for the outline code. Read-only LookupTable.

MatchGeneric

True if Project uses the enterprise text custom field (which is equivalent to an outline code) in the Resource Substitution Wizard. Read/write Boolean.

Name

Gets the name of the OutlineCode object. Read/write String.

OnlyCompleteCodes

True if only outline codes with values at all levels of the code mask can be used. Read/write Boolean.

OnlyLeaves

True if only outline code lookup table values without children can be selected. Read/write Boolean.

OnlyLookUpTableCodes

True if only entries listed in the local outline code lookup table can be used. Read/write Boolean.

Parent

Gets the parent of the OutlineCode object. Read-only Project.

RequiredCode

True if a value for the local outline code must be set before the project can be saved. Read/write Boolean.

SortOrder

Gets or sets the order by which the outline code items are sorted. Read/write PjListOrder.