Udostępnij za pośrednictwem


Tracking.TrackPositionBackwardInTime Method

Definition

Overloads

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

Track a position backward in time using forward fidelity.

TrackPositionBackwardInTime(PointTrackingMode, Int32, INormalizedTextChangeCollection)

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

Parameters

trackingMode
PointTrackingMode
currentPosition
Int32

Returns

Applies to

TrackPositionBackwardInTime(PointTrackingMode, Int32, ITextImageVersion, ITextImageVersion)

public:
 static int TrackPositionBackwardInTime(Microsoft::VisualStudio::Text::PointTrackingMode trackingMode, int currentPosition, Microsoft::VisualStudio::Text::ITextImageVersion ^ currentVersion, Microsoft::VisualStudio::Text::ITextImageVersion ^ targetVersion);
public static int TrackPositionBackwardInTime (Microsoft.VisualStudio.Text.PointTrackingMode trackingMode, int currentPosition, Microsoft.VisualStudio.Text.ITextImageVersion currentVersion, Microsoft.VisualStudio.Text.ITextImageVersion targetVersion);
static member TrackPositionBackwardInTime : Microsoft.VisualStudio.Text.PointTrackingMode * int * Microsoft.VisualStudio.Text.ITextImageVersion * Microsoft.VisualStudio.Text.ITextImageVersion -> int
Public Shared Function TrackPositionBackwardInTime (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

TrackPositionBackwardInTime(PointTrackingMode, Int32, ITextVersion, ITextVersion)

Track a position backward in time using forward fidelity.

public:
 static int TrackPositionBackwardInTime(Microsoft::VisualStudio::Text::PointTrackingMode trackingMode, int currentPosition, Microsoft::VisualStudio::Text::ITextVersion ^ currentVersion, Microsoft::VisualStudio::Text::ITextVersion ^ targetVersion);
public:
 static int TrackPositionBackwardInTime(Microsoft::VisualStudio::Text::PointTrackingMode trackingMode, int currentPosition, Microsoft::VisualStudio::Text::ITextVersion ^ currentVersion, Microsoft::VisualStudio::Text::ITextVersion ^ targetVersion);
 static int TrackPositionBackwardInTime(Microsoft::VisualStudio::Text::PointTrackingMode trackingMode, int currentPosition, Microsoft::VisualStudio::Text::ITextVersion const & currentVersion, Microsoft::VisualStudio::Text::ITextVersion const & targetVersion);
public static int TrackPositionBackwardInTime (Microsoft.VisualStudio.Text.PointTrackingMode trackingMode, int currentPosition, Microsoft.VisualStudio.Text.ITextVersion currentVersion, Microsoft.VisualStudio.Text.ITextVersion targetVersion);
static member TrackPositionBackwardInTime : Microsoft.VisualStudio.Text.PointTrackingMode * int * Microsoft.VisualStudio.Text.ITextVersion * Microsoft.VisualStudio.Text.ITextVersion -> int
Public Shared Function TrackPositionBackwardInTime (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