Tracking.TrackPositionBackwardInTime Method
Track a point position backward in time using forward fidelity.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Public Shared Function TrackPositionBackwardInTime ( _
trackingMode As PointTrackingMode, _
currentPosition As Integer, _
currentVersion As ITextVersion, _
targetVersion As ITextVersion _
) As Integer
public static int TrackPositionBackwardInTime(
PointTrackingMode trackingMode,
int currentPosition,
ITextVersion currentVersion,
ITextVersion targetVersion
)
public:
static int TrackPositionBackwardInTime(
PointTrackingMode trackingMode,
int currentPosition,
ITextVersion^ currentVersion,
ITextVersion^ targetVersion
)
static member TrackPositionBackwardInTime :
trackingMode:PointTrackingMode *
currentPosition:int *
currentVersion:ITextVersion *
targetVersion:ITextVersion -> int
public static function TrackPositionBackwardInTime(
trackingMode : PointTrackingMode,
currentPosition : int,
currentVersion : ITextVersion,
targetVersion : ITextVersion
) : int
Parameters
trackingMode
Type: Microsoft.VisualStudio.Text.PointTrackingModeThe point tracking mode.
currentPosition
Type: Int32The current position.
currentVersion
Type: Microsoft.VisualStudio.Text.ITextVersionThe current version.
targetVersion
Type: Microsoft.VisualStudio.Text.ITextVersionThe target version.
Return Value
Type: Int32
Returns the new current position.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.