# ProjectConstraintType

A scheduling constraint; storing a constraint does not calculate it.

Enum 

`OfficeIMO.Project`

**Namespace**

`OfficeIMO.Project`

**Assembly**

`OfficeIMO.Project`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

A scheduling constraint; storing a constraint does not calculate it.

## Inheritance

- Enum
- ProjectConstraintType

## Usage

Explore 9 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 9

- Field [ProjectConstraintType.AsLateAsPossible](/api/project/officeimo-project-projectconstrainttype/#field-aslateaspossible)
- Field [ProjectConstraintType.AsSoonAsPossible](/api/project/officeimo-project-projectconstrainttype/#field-assoonaspossible)
- Field [ProjectConstraintType.FinishNoEarlierThan](/api/project/officeimo-project-projectconstrainttype/#field-finishnoearlierthan)
- Field [ProjectConstraintType.FinishNoLaterThan](/api/project/officeimo-project-projectconstrainttype/#field-finishnolaterthan)
- Field [ProjectConstraintType.MustFinishOn](/api/project/officeimo-project-projectconstrainttype/#field-mustfinishon)
- Field [ProjectConstraintType.MustStartOn](/api/project/officeimo-project-projectconstrainttype/#field-muststarton)
- Field [ProjectConstraintType.StartNoEarlierThan](/api/project/officeimo-project-projectconstrainttype/#field-startnoearlierthan)
- Field [ProjectConstraintType.StartNoLaterThan](/api/project/officeimo-project-projectconstrainttype/#field-startnolaterthan)
- Property [ProjectTask.ConstraintType](/api/project/officeimo-project-projecttask/#property-constrainttype)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const ProjectConstraintType AsSoonAsPossible` [#](#field-assoonaspossible)

[ProjectEnums.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectEnums.cs#L26)

Schedule as soon as possible.

Value: `0`

`public const ProjectConstraintType AsLateAsPossible` [#](#field-aslateaspossible)

[ProjectEnums.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectEnums.cs#L28)

Schedule as late as possible.

Value: `1`

`public const ProjectConstraintType MustStartOn` [#](#field-muststarton)

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

Must start on the constraint date.

Value: `2`

`public const ProjectConstraintType MustFinishOn` [#](#field-mustfinishon)

[ProjectEnums.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectEnums.cs#L32)

Must finish on the constraint date.

Value: `3`

`public const ProjectConstraintType StartNoEarlierThan` [#](#field-startnoearlierthan)

[ProjectEnums.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectEnums.cs#L34)

Start no earlier than the constraint date.

Value: `4`

`public const ProjectConstraintType StartNoLaterThan` [#](#field-startnolaterthan)

[ProjectEnums.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectEnums.cs#L36)

Start no later than the constraint date.

Value: `5`

`public const ProjectConstraintType FinishNoEarlierThan` [#](#field-finishnoearlierthan)

[ProjectEnums.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectEnums.cs#L38)

Finish no earlier than the constraint date.

Value: `6`

`public const ProjectConstraintType FinishNoLaterThan` [#](#field-finishnolaterthan)

[ProjectEnums.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectEnums.cs#L40)

Finish no later than the constraint date.

Value: `7`

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