TextSnapshotReaderOptions Class
Represents options that are applied to an ITextSnapshotReader.
public class TextSnapshotReaderOptions : ITextSnapshotReaderOptions
- Inheritance:
- object object
- Implements:
- ITextSnapshotReaderOptions
Properties
DefaultTokenLoadBufferLength
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 default value is
700.
Remarks
This property governs each load of tokens following the first load.
See Also
InitialTokenLoadBufferLength
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 default value is
100.
Remarks
This property only governs the first load of tokens.
See Also
PrimaryScanDirection
The primary direction in which text scanning will take place with the reader.
public TextScanDirection? PrimaryScanDirection { get; set; }
Property Value
- TextScanDirection?:
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.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()