In This Article

ITextSnapshotReaderOptions Interface

Provides the base requirements for options that are applied to an ITextSnapshotReader.

public interface ITextSnapshotReaderOptions

Properties

DefaultTokenLoadBufferLength

The default number of characters for which to load tokens when retrieving tokens for consumption by the reader.

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.

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.

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.

See Also

Extension Methods

See Also