Tracking.TrackSpanForwardInTime Method
Track span forward 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 TrackSpanForwardInTime ( _
trackingMode As SpanTrackingMode, _
span As Span, _
currentVersion As ITextVersion, _
targetVersion As ITextVersion _
) As Span
public static Span TrackSpanForwardInTime(
SpanTrackingMode trackingMode,
Span span,
ITextVersion currentVersion,
ITextVersion targetVersion
)
public:
static Span TrackSpanForwardInTime(
SpanTrackingMode trackingMode,
Span span,
ITextVersion^ currentVersion,
ITextVersion^ targetVersion
)
static member TrackSpanForwardInTime :
trackingMode:SpanTrackingMode *
span:Span *
currentVersion:ITextVersion *
targetVersion:ITextVersion -> Span
public static function TrackSpanForwardInTime(
trackingMode : SpanTrackingMode,
span : Span,
currentVersion : ITextVersion,
targetVersion : ITextVersion
) : Span
Parameters
trackingMode
Type: Microsoft.VisualStudio.Text.SpanTrackingModeThe span tracking mode.
span
Type: Microsoft.VisualStudio.Text.SpanThe current span.
currentVersion
Type: Microsoft.VisualStudio.Text.ITextVersionThe current version.
targetVersion
Type: Microsoft.VisualStudio.Text.ITextVersionThe target version.
Return Value
Type: Microsoft.VisualStudio.Text.Span
Returns the new current span.
.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.