Share via


Tracking.TrackPositionForwardInTime 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 TrackPositionForwardInTime ( _
    trackingMode As PointTrackingMode, _
    currentPosition As Integer, _
    currentVersion As ITextVersion, _
    targetVersion As ITextVersion _
) As Integer
public static int TrackPositionForwardInTime(
    PointTrackingMode trackingMode,
    int currentPosition,
    ITextVersion currentVersion,
    ITextVersion targetVersion
)
public:
static int TrackPositionForwardInTime(
    PointTrackingMode trackingMode, 
    int currentPosition, 
    ITextVersion^ currentVersion, 
    ITextVersion^ targetVersion
)
static member TrackPositionForwardInTime : 
        trackingMode:PointTrackingMode * 
        currentPosition:int * 
        currentVersion:ITextVersion * 
        targetVersion:ITextVersion -> int
public static function TrackPositionForwardInTime(
    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