# OpmlConversionOptions

Controls bounded OPML shared-model conversion diagnostics.

Class 

`OfficeIMO.Opml`

**Namespace**

`OfficeIMO.Opml`

**Assembly**

`OfficeIMO.Opml`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OpmlContracts.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlContracts.cs#L60)

**Modifiers**

sealed

Controls bounded OPML shared-model conversion diagnostics.

## Inheritance

- object
- OpmlConversionOptions

## 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.

### Accepted by parameters 2

- Method [OpmlDocument.FromOfficeDocumentModel](/api/opml/officeimo-opml-opmldocument/#method-fromofficedocumentmodel-officeimo-officedocumentmodel-nullable-officeimo-opml-opmlversion-officeimo-opml-opmlconversionoptions) parameter `options`
- Method [OpmlDocument.ToOfficeDocumentModel](/api/opml/officeimo-opml-opmldocument/#method-toofficedocumentmodel-string-officeimo-opml-opmlconversionoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

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

[OpmlContracts.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlContracts.cs#L60)

## 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 int MaxStructureDepth { get; set; }` [#](#property-maxstructuredepth)

[OpmlContracts.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlContracts.cs#L60)

Maximum shared-model structure depth produced or accepted by conversion. Defaults to 128 and cannot exceed 256.

`public int MaxStructureNodes { get; set; }` [#](#property-maxstructurenodes)

[OpmlContracts.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlContracts.cs#L62)

Maximum shared-model structure nodes produced or accepted by conversion. Defaults to 100,000.

`public int MaxDetailedDiagnosticsPerCode { get; set; }` [#](#property-maxdetaileddiagnosticspercode)

[OpmlContracts.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlContracts.cs#L64)

Maximum detailed diagnostics retained for each diagnostic code before one summary is emitted. Defaults to 100.

<!-- PowerForge markdown artifact sha256:77BFB9ABEE97CDEAF250CDC3DB4CD8BB006A8DC10DF2130BD29852FF3A4FE5D8 -->
