Compartir a través de


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

  • currentPosition
    Type: Int32

    The current position.

Return Value

Type: Int32
Returns the new current position.

.NET Framework Security

See Also

Reference

Tracking Class

Microsoft.VisualStudio.Text Namespace