In This Article

ITextSnapshotReaderOptions Interface

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

public interface ITextSnapshotReaderOptions

Properties

DefaultTokenLoadBufferLength

Gets or sets 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 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.

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.

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.

See Also

See Also