# ProjectLoadOptions

Bounded XML input and common document lifecycle policy.

Class 

`OfficeIMO.Project`

**Namespace**

`OfficeIMO.Project`

**Assembly**

`OfficeIMO.Project`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Base**

`DocumentLoadOptions`

**Modifiers**

sealed

Bounded XML input and common document lifecycle policy.

## Inheritance

- DocumentLoadOptions
- ProjectLoadOptions

## Usage

Explore 5 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.

### Accepted by parameters 5

- Method [ProjectDocument.Clone](/api/project/officeimo-project-projectdocument/#method-clone-officeimo-project-projectsaveoptions-threading-cancellationtoken-officeimo-project-projectloadoptions) parameter `loadOptions`
- Method [ProjectDocument.CreateFromTemplate](/api/project/officeimo-project-projectdocument/#method-createfromtemplate-string-officeimo-project-projectloadoptions-threading-cancellationtoken) parameter `options`
- Method [ProjectDocument.Load](/api/project/officeimo-project-projectdocument/#method-load-string-officeimo-project-projectloadoptions-threading-cancellationtoken) parameter `options`
- Method [ProjectDocument.LoadAsync](/api/project/officeimo-project-projectdocument/#method-loadasync-string-officeimo-project-projectloadoptions-threading-cancellationtoken) parameter `options`
- Method [ProjectDocument.Parse](/api/project/officeimo-project-projectdocument/#method-parse-string-officeimo-project-projectloadoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public ProjectLoadOptions()` [#](#constructor-ctor)

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

## 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 long MaxInputBytes { get; set; }` [#](#property-maxinputbytes)

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

Maximum input bytes, including buffering of non-seekable sources.

`public int MaxCompoundEntries { get; set; }` [#](#property-maxcompoundentries)

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

Maximum compound directory entries for native input.

`public int MaxCompoundStreams { get; set; }` [#](#property-maxcompoundstreams)

[ProjectOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/ProjectOptions.cs#L14)

Maximum materialized compound streams for native input.

`public long MaxCharacters { get; set; }` [#](#property-maxcharacters)

[ProjectOptions.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/ProjectOptions.cs#L16)

Maximum XML characters before materialization.

`public int MaxDepth { get; set; }` [#](#property-maxdepth)

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

Maximum XML nesting depth.

`public int MaxOutlineDepth { get; set; }` [#](#property-maxoutlinedepth)

[ProjectOptions.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/ProjectOptions.cs#L20)

Maximum task outline level, independent of XML element nesting.

`public int MaxElements { get; set; }` [#](#property-maxelements)

[ProjectOptions.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/ProjectOptions.cs#L22)

Maximum total XML elements.

`public int MaxAttributes { get; set; }` [#](#property-maxattributes)

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

Maximum total XML attributes.

`public int MaxTasks { get; set; }` [#](#property-maxtasks)

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

Maximum tasks, including summary and null placeholder records.

`public int MaxEntities { get; set; }` [#](#property-maxentities)

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

Maximum combined records materialized from a project. MPX and native input count tasks, resources, calendars, and assignments. XML also counts child records, including baselines, dependencies, custom fields, lookup values, timephased values, calendar work periods, and resource capacity or rate entries.

`public int MaxNativeValues { get; set; }` [#](#property-maxnativevalues)

[ProjectOptions.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/ProjectOptions.cs#L35)

Maximum total variable field values materialized from native MPP/MPT tables.

`public int MaxTimephasedValues { get; set; }` [#](#property-maxtimephasedvalues)

[ProjectOptions.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/ProjectOptions.cs#L37)

Maximum timephased intervals, without implicit expansion.

`public int MaxDiagnostics { get; set; }` [#](#property-maxdiagnostics)

[ProjectOptions.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/ProjectOptions.cs#L39)

Maximum retained diagnostics; truncation is itself diagnosed.

## Inherited Properties

`public DocumentAccessMode AccessMode { get; set; }` [#](#property-accessmode)

Inherited from DocumentLoadOptions

`public OfficePackageSecurityOptions? PackageSecurity { get; set; }` [#](#property-packagesecurity)

Inherited from DocumentLoadOptions

`public bool CaptureSourcePackageSecurity { get; set; }` [#](#property-capturesourcepackagesecurity)

Inherited from DocumentLoadOptions

`public DocumentPersistenceMode PersistenceMode { get; set; }` [#](#property-persistencemode)

Inherited from DocumentCreateOptions

<!-- PowerForge markdown artifact sha256:050397B6C84619D3751166DAE5754823D031E15800F01B21B0ED6BB0C647282E -->
