Share via


Tracking.TrackPositionForwardInTime Method

Definition

Overloads

TrackPositionForwardInTime(PointTrackingMode, Int32, INormalizedTextChangeCollection)
TrackPositionForwardInTime(PointTrackingMode, Int32, ITextImageVersion, ITextImageVersion)
TrackPositionForwardInTime(PointTrackingMode, Int32, ITextVersion, ITextVersion)

Track a position forward in time using forward fidelity.

TrackPositionForwardInTime(PointTrackingMode, Int32, INormalizedTextChangeCollection)

public:
 static int TrackPositionForwardInTime(Microsoft::VisualStudio::Text::PointTrackingMode trackingMode, int currentPosition, Microsoft::VisualStudio::Text::INormalizedTextChangeCollection ^ textChanges);
public static int TrackPositionForwardInTime (Microsoft.VisualStudio.Text.PointTrackingMode trackingMode, int currentPosition, Microsoft.VisualStudio.Text.INormalizedTextChangeCollection textChanges);
static member TrackPositionForwardInTime : Microsoft.VisualStudio.Text.PointTrackingMode * int * Microsoft.VisualStudio.Text.INormalizedTextChangeCollection -> int
Public Shared Function TrackPositionForwardInTime (trackingMode As PointTrackingMode, currentPosition As Integer, textChanges As INormalizedTextChangeCollection) As Integer

Parameters

trackingMode
PointTrackingMode
currentPosition
Int32

Returns

Applies to

TrackPositionForwardInTime(PointTrackingMode, Int32, ITextImageVersion, ITextImageVersion)

public:
 static int TrackPositionForwardInTime(Microsoft::VisualStudio::Text::PointTrackingMode trackingMode, int currentPosition, Microsoft::VisualStudio::Text::ITextImageVersion ^ currentVersion, Microsoft::VisualStudio::Text::ITextImageVersion ^ targetVersion);
public static int TrackPositionForwardInTime (Microsoft.VisualStudio.Text.PointTrackingMode trackingMode, int currentPosition, Microsoft.VisualStudio.Text.ITextImageVersion currentVersion, Microsoft.VisualStudio.Text.ITextImageVersion targetVersion);
static member TrackPositionForwardInTime : Microsoft.VisualStudio.Text.PointTrackingMode * int * Microsoft.VisualStudio.Text.ITextImageVersion * Microsoft.VisualStudio.Text.ITextImageVersion -> int
Public Shared Function TrackPositionForwardInTime (trackingMode As PointTrackingMode, currentPosition As Integer, currentVersion As ITextImageVersion, targetVersion As ITextImageVersion) As Integer

Parameters

trackingMode
PointTrackingMode
currentPosition
Int32
currentVersion
ITextImageVersion
targetVersion
ITextImageVersion

Returns

Applies to

TrackPositionForwardInTime(PointTrackingMode, Int32, ITextVersion, ITextVersion)

Track a position forward in time using forward fidelity.

public:
 static int TrackPositionForwardInTime(Microsoft::VisualStudio::Text::PointTrackingMode trackingMode, int currentPosition, Microsoft::VisualStudio::Text::ITextVersion ^ currentVersion, Microsoft::VisualStudio::Text::ITextVersion ^ targetVersion);
public:
 static int TrackPositionForwardInTime(Microsoft::VisualStudio::Text::PointTrackingMode trackingMode, int currentPosition, Microsoft::VisualStudio::Text::ITextVersion ^ currentVersion, Microsoft::VisualStudio::Text::ITextVersion ^ targetVersion);
 static int TrackPositionForwardInTime(Microsoft::VisualStudio::Text::PointTrackingMode trackingMode, int currentPosition, Microsoft::VisualStudio::Text::ITextVersion const & currentVersion, Microsoft::VisualStudio::Text::ITextVersion const & targetVersion);
public static int TrackPositionForwardInTime (Microsoft.VisualStudio.Text.PointTrackingMode trackingMode, int currentPosition, Microsoft.VisualStudio.Text.ITextVersion currentVersion, Microsoft.VisualStudio.Text.ITextVersion targetVersion);
static member TrackPositionForwardInTime : Microsoft.VisualStudio.Text.PointTrackingMode * int * Microsoft.VisualStudio.Text.ITextVersion * Microsoft.VisualStudio.Text.ITextVersion -> int
Public Shared Function TrackPositionForwardInTime (trackingMode As PointTrackingMode, currentPosition As Integer, currentVersion As ITextVersion, targetVersion As ITextVersion) As Integer

Parameters

trackingMode
PointTrackingMode

The point tracking mode.

currentPosition
Int32

The current position.

currentVersion
ITextVersion

The current version.

targetVersion
ITextVersion

The target version.

Returns

Returns the new current position.

Applies to