TextSnapshotReaderOptions Class
Represents options that are applied to an ITextSnapshotReader.
public class TextSnapshotReaderOptions : ITextSnapshotReaderOptions
- Inheritance:
- object object
- Implements:
- ITextSnapshotReaderOptions
Properties
DefaultTokenLoadBufferLength
Gets or sets the default number of characters for which to load tokens when retrieving tokens for consumption by the reader.
public int DefaultTokenLoadBufferLength { get; set; }
Property Value
- int:
The number of characters for which to load tokens. The default value is
700
.
Remarks
This property governs each load of tokens following the first load.
See Also
InitialTokenLoadBufferLength
Gets or sets the initial number of characters for which to load tokens when retrieving tokens for consumption by the reader.
public int InitialTokenLoadBufferLength { get; set; }
Property Value
- int:
The number of characters for which to load tokens. The default value is
100
.
Remarks
This property only governs the first load of tokens.
See Also
PrimaryScanDirection
Gets or sets the primary direction in which text scanning will take place with the reader.
public TextScanDirection? PrimaryScanDirection { get; set; }
Property Value
- TextScanDirection?:
The primary direction in which text scanning will take place with the reader. The default value is
null
.
Remarks
A value of null
means indeterminate.
This property is simply used for optimization of the initial token load and in no way restricts which
way you are permitted to scan with the reader.