Class OdtStreamReaderOptions
Configures resource limits and stream ownership for OdtStreamReader. 設定 OdtStreamReader 的資源限制與資料流所有權。
public sealed class OdtStreamReaderOptions
- Inheritance
-
OdtStreamReaderOptions
- Inherited Members
Constructors
OdtStreamReaderOptions()
public OdtStreamReaderOptions()
Properties
LeaveOpen
Gets or sets a value indicating whether the input stream remains open after disposal. 取得或設定處置讀取器後是否保持輸入資料流開啟。
public bool LeaveOpen { get; set; }
Property Value
MaxNodeTextCharacters
Gets or sets the maximum extracted text length for one node. 取得或設定單一節點可擷取的文字長度上限。
public int MaxNodeTextCharacters { get; set; }
Property Value
MaxNodes
Gets or sets the maximum number of text nodes returned by the reader. 取得或設定讀取器可回傳的文字節點數上限。
public int MaxNodes { get; set; }
Property Value
MaxXmlCharactersInDocument
Gets or sets the maximum XML character count. A value of zero disables this limit. 取得或設定 XML 字元數上限;設為 0 代表停用此限制。
public long MaxXmlCharactersInDocument { get; set; }