Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OneNoteLoadOptions

OfficeIMO.OneNote

Namespace
OfficeIMO.OneNote
Assembly
OfficeIMO.OneNote
Source revision
ac7e6e1bad8a with working tree changes
Modifiers
sealed

Safety and compatibility limits applied while reading OneNote artifacts.

Inheritance

  • object
  • OneNoteLoadOptions

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.

Returned or exposed by 1

Accepted by parameters 4

Constructors

public OneNoteLoadOptions() #

Properties

public long? MaxInputBytes { get; set; } #

Maximum input size when the source length is available. Set to null only when the caller deliberately accepts unbounded source sizes.

public int MaxFileNodeListFragments { get; set; } #

Maximum file-node-list fragments followed while resolving a revision store.

public int MaxFileNodes { get; set; } #

Maximum number of file nodes retained while following file-node lists.

public int MaxTransactionLogFragments { get; set; } #

Maximum transaction-log fragments followed while resolving committed file-node counts.

public int MaxTransactionEntries { get; set; } #

Maximum transaction entries inspected while resolving committed file-node counts.

public int MaxObjects { get; set; } #

Maximum object declarations retained while resolving a revision store.

public int MaxPropertiesPerObject { get; set; } #

Maximum properties retained for one object.

public int MaxPropertySetDepth { get; set; } #

Maximum recursive nesting depth for child property sets.

public int MaxPageGraphNodes { get; set; } #

Maximum distinct current, conflict, and version-history object-space references traversed from one section.

public int MaxPageRelationshipDepth { get; set; } #

Maximum nesting depth across conflict and version-history page relationships.

public int MaxInkPathValues { get; set; } #

Maximum decoded coordinate and pressure values retained for one native ink path.

public long MaxAssetBytes { get; set; } #

Maximum bytes materialized for one image or embedded file.

public long MaxTotalAssetBytes { get; set; } #

Maximum bytes materialized across all assets in one read operation.

public int MaxStreamObjects { get; set; } #

Maximum number of stream objects decoded from an alternative package-store file.

public int MaxStreamObjectDepth { get; set; } #

Maximum nesting depth for compound stream objects in an alternative package-store file.

public bool StrictHeaderValidation { get; set; } #

When true, violations of required header values fail immediately. When false, recoverable mismatches are returned as diagnostics where safe continuation is possible.

public bool ValidateTransactionChecksums { get; set; } #

When true, transaction sentinel checksums are validated before their file-node counts are accepted. Set to false only for compatibility with a known producer that emits non-conforming checksums.

public bool PreserveUnknownData { get; set; } #

When true, unsupported objects and properties retain their encoded bytes for later round-trip writing.

Fields

public const long DefaultMaxInputBytes #

Default maximum input size: 512 MiB.

Value: 536870912
public const int DefaultMaxFileNodeListFragments #

Maximum number of file-node-list fragments followed from one file.

Value: 100000
public const int DefaultMaxFileNodes #

Maximum number of file nodes retained from one revision store.

Value: 2000000
public const int DefaultMaxTransactionLogFragments #

Maximum number of transaction-log fragments followed from one revision store.

Value: 100000
public const int DefaultMaxTransactionEntries #

Maximum number of transaction entries inspected from one revision store.

Value: 4000000
public const int DefaultMaxObjects #

Maximum number of object declarations retained from one file.

Value: 1000000
public const int DefaultMaxPropertiesPerObject #

Maximum number of properties retained for one object.

Value: 65536
public const int DefaultMaxPropertySetDepth #

Maximum nesting depth for child property sets.

Value: 128
public const int DefaultMaxPageGraphNodes #

Maximum number of distinct page object-space references traversed from one section.

Value: 100000
public const int DefaultMaxPageRelationshipDepth #

Maximum nesting depth across conflict and version-history page relationships.

Value: 128
public const int DefaultMaxInkPathValues #

Maximum decoded coordinate and pressure values retained for one native ink path.

Value: 1000000
public const long DefaultMaxAssetBytes #

Maximum bytes retained for one embedded asset.

Value: 67108864
public const long DefaultMaxTotalAssetBytes #

Maximum bytes retained across embedded assets.

Value: 268435456
public const int DefaultMaxStreamObjects #

Maximum MS-FSSHTTPB stream objects decoded from one package.

Value: 2000000
public const int DefaultMaxStreamObjectDepth #

Maximum nesting depth of compound MS-FSSHTTPB stream objects.

Value: 256