In This Article

ITextPositionRangeProvider Interface

Provides the base requirements for an object that has range of two TextPosition values within a text document.

public interface ITextPositionRangeProvider

Properties

PositionRange

Gets or sets a TextPositionRange that specifies the text position range of the object.

TextPositionRange PositionRange { get; set; }

Property Value

TextPositionRange:

A TextPositionRange that specifies the text position range of the object.

Remarks

Note that not all objects implement a setter for this property and in the cases of those who don't, an exception may be thrown.