# ProjectOutlineCodeDefinition

A hierarchical lookup table and masks used by one or more outline-code fields.

Class 

`OfficeIMO.Project`

**Namespace**

`OfficeIMO.Project`

**Assembly**

`OfficeIMO.Project`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[ProjectOutlineCodeDefinition.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectOutlineCodeDefinition.cs#L10)

**Base**

`ProjectObject`

**Modifiers**

sealed

A hierarchical lookup table and masks used by one or more outline-code fields.

## Inheritance

- [ProjectObject](/api/project/officeimo-project-projectobject/)
- ProjectOutlineCodeDefinition

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Method [ProjectDocument.GetCustomFieldLookupTable](/api/project/officeimo-project-projectdocument/#method-getcustomfieldlookuptable-officeimo-project-projectcustomfielddefinition)
- Property [ProjectDocument.OutlineCodes](/api/project/officeimo-project-projectdocument/#property-outlinecodes)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public ProjectCollection<ProjectOutlineCodeMask> Masks { get; }` [#](#property-masks)

[ProjectOutlineCodeDefinition.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectOutlineCodeDefinition.cs#L10)

Ordered masks belonging to this definition.

`public ProjectCollection<ProjectOutlineCodeLookupValue> Values { get; }` [#](#property-values)

[ProjectOutlineCodeDefinition.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectOutlineCodeDefinition.cs#L12)

Ordered values belonging to this definition.

`public string? Guid { get; set; }` [#](#property-guid)

[ProjectOutlineCodeDefinition.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectOutlineCodeDefinition.cs#L15)

Lookup-table identity referenced by a custom field's LookupTableGuid.

`public string? FieldId { get; set; }` [#](#property-fieldid)

[ProjectOutlineCodeDefinition.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectOutlineCodeDefinition.cs#L18)

Optional legacy field identity.

`public string? FieldName { get; set; }` [#](#property-fieldname)

[ProjectOutlineCodeDefinition.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectOutlineCodeDefinition.cs#L21)

Optional legacy field name.

`public string? Alias { get; set; }` [#](#property-alias)

[ProjectOutlineCodeDefinition.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectOutlineCodeDefinition.cs#L24)

Optional display alias.

`public bool? LeafOnly { get; set; }` [#](#property-leafonly)

[ProjectOutlineCodeDefinition.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectOutlineCodeDefinition.cs#L27)

Whether selection is restricted to leaf values.

`public bool? AllLevelsRequired { get; set; }` [#](#property-alllevelsrequired)

[ProjectOutlineCodeDefinition.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectOutlineCodeDefinition.cs#L30)

Whether selected values must contain every mask level.

`public bool? OnlyTableValuesAllowed { get; set; }` [#](#property-onlytablevaluesallowed)

[ProjectOutlineCodeDefinition.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectOutlineCodeDefinition.cs#L33)

Whether free-text outline values are forbidden.

<!-- PowerForge markdown artifact sha256:EAFAFC60DAD3F333C5D63A9BC691D6EFC9901D21A6C66C0B1D2FC2BFA958F1E1 -->
