Class
ContentLineReaderOptions
OfficeIMO.Email
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.
Returned or exposed by 2
- Property ContentLineReaderOptions.Default
- Property EmailDataOpenOptions.ContentLines
Accepted by parameters 7
- Constructor EmailDataOpenOptions.EmailDataOpenOptions
- Method IcsDocument.Load
- Method IcsDocument.LoadAsync
- Method IcsDocument.Parse
- Method VCardDocument.Load
- Method VCardDocument.LoadAsync
- Method VCardDocument.Parse
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
- maxUnfoldedLineBytes int = 1048576
- maxComponents int = 100000
- maxProperties int = 1000000
- maxNestingDepth int = 32
- encoding System.Text.Encoding? = null
Inherited Methods
Properties
public static ContentLineReaderOptions Default { get; } #Default bounded reader policy.
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.