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
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.