Delen via


Tracking.TrackSpanBackwardInTime Method

Track a span 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 TrackSpanBackwardInTime ( _
    trackingMode As SpanTrackingMode, _
    span As Span, _
    currentVersion As ITextVersion, _
    targetVersion As ITextVersion _
) As Span
public static Span TrackSpanBackwardInTime(
    SpanTrackingMode trackingMode,
    Span span,
    ITextVersion currentVersion,
    ITextVersion targetVersion
)
public:
static Span TrackSpanBackwardInTime(
    SpanTrackingMode trackingMode, 
    Span span, 
    ITextVersion^ currentVersion, 
    ITextVersion^ targetVersion
)
static member TrackSpanBackwardInTime : 
        trackingMode:SpanTrackingMode * 
        span:Span * 
        currentVersion:ITextVersion * 
        targetVersion:ITextVersion -> Span
public static function TrackSpanBackwardInTime(
    trackingMode : SpanTrackingMode, 
    span : Span, 
    currentVersion : ITextVersion, 
    targetVersion : ITextVersion
) : Span

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Span
Returns the new current span.

.NET Framework Security

See Also

Reference

Tracking Class

Microsoft.VisualStudio.Text Namespace