Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A span of text in an ITextBuffer that grows or shrinks with changes to the text buffer. The span may be empty.
Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Public Interface ITrackingSpan
public interface ITrackingSpan
public interface class ITrackingSpan
type ITrackingSpan =  interface end
public interface ITrackingSpan
The ITrackingSpan type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | TextBuffer | The ITextBuffer to which this tracking span refers. | 
| .gif) | TrackingFidelity | The TrackingFidelityMode of the tracking span. | 
| .gif) | TrackingMode | The SoanTrackingMode of this tracking span, which determines how it behaves when insertions occur at its edges. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | GetEndPoint | Maps the end of the tracking span to the specified snapshot of its text buffer. | 
| .gif) | GetSpan(ITextSnapshot) | Maps the tracking span to the specified snapshot of its text buffer. | 
| .gif) | GetSpan(ITextVersion) | Maps the tracking span to the specified version of its text buffer. | 
| .gif) | GetStartPoint | Maps the start of the tracking span to the specified snapshot of its text buffer. | 
| .gif) | GetText | Maps the tracking span to the specified snapshot of its text buffer and gets the text it designates. | 
Top
Remarks
For information about tracking, see the "Tracking Points and Tracking Spans" section of Inside the Editor.