API Reference

Class

ContentLineReaderOptions

Namespace OfficeIMO.Email
Assembly OfficeIMO.Email
Modifiers sealed

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

Inheritance

  • Object
  • ContentLineReaderOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

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

Creates a bounded content-line reader policy.

Parameters

maxInputBytes System.Int64 = 16777216 optionalposition: 0
maxUnfoldedLineBytes System.Int32 = 1048576 optionalposition: 1
maxComponents System.Int32 = 100000 optionalposition: 2
maxProperties System.Int32 = 1000000 optionalposition: 3
maxNestingDepth System.Int32 = 32 optionalposition: 4
encoding System.Text.Encoding = null optionalposition: 5

Properties

public static ContentLineReaderOptions Default { get; } #

Default bounded reader policy.

public Int64 MaxInputBytes { get; } #

Maximum source bytes accepted.

public Int32 MaxUnfoldedLineBytes { get; } #

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

public Int32 MaxComponents { get; } #

Maximum components accepted across the document.

public Int32 MaxProperties { get; } #

Maximum properties accepted across the document.

public Int32 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.