# DocumentCreateOptions

Common lifecycle policy for a newly created document.

Class 

`OfficeIMO`

**Namespace**

`OfficeIMO`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[DocumentLifecycle.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/DocumentLifecycle.cs#L22)

Common lifecycle policy for a newly created document.

## Inheritance

- object
- DocumentCreateOptions

## Derived Types

- [DocumentLoadOptions](/api/core/officeimo-documentloadoptions/)

Filter members 

Show inherited

## Constructors

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

## 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 DocumentPersistenceMode PersistenceMode { get; set; }` [#](#property-persistencemode)

[DocumentLifecycle.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/DocumentLifecycle.cs#L22)

Controls when the document is written to its associated destination.

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