Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ContentLineReaderOptions

OfficeIMO.Email

Namespace
OfficeIMO.Email
Assembly
OfficeIMO.Email
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Bounded parser policy shared by first-class iCalendar and vCard readers.

Inheritance

  • object
  • ContentLineReaderOptions

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.

Accepted by parameters 7

Constructors

public ContentLineReaderOptions(long maxInputBytes = 16777216, int maxUnfoldedLineBytes = 1048576, int maxComponents = 100000, int maxProperties = 1000000, int maxNestingDepth = 32, Encoding? encoding = null) #

Creates a bounded content-line reader policy.

Parameters

maxInputBytes long = 16777216 optional
maxUnfoldedLineBytes int = 1048576 optional
maxComponents int = 100000 optional
maxProperties int = 1000000 optional
maxNestingDepth int = 32 optional
encoding System.Text.Encoding? = null optional

Properties

public static ContentLineReaderOptions Default { get; } #

Default bounded reader policy.

public long MaxInputBytes { get; } #

Maximum source bytes accepted.

public int MaxUnfoldedLineBytes { get; } #

Maximum UTF-8 byte length of one unfolded logical line.

public int MaxComponents { get; } #

Maximum components accepted across the document.

public int MaxProperties { get; } #

Maximum properties accepted across the document.

public int MaxNestingDepth { get; } #

Maximum component nesting depth, up to the model traversal limit of 256.

public Encoding Encoding { get; } #

Encoding used to decode the source. UTF-8 without replacement fallback is the default.