Partilhar via


Tracking.TrackSpanBackwardInTime Method

Definition

Overloads

TrackSpanBackwardInTime(SpanTrackingMode, Span, ITextImageVersion, ITextImageVersion)
TrackSpanBackwardInTime(SpanTrackingMode, Span, ITextVersion, ITextVersion)

Track a span backward in time using forward fidelity.

TrackSpanBackwardInTime(SpanTrackingMode, Span, ITextImageVersion, ITextImageVersion)

public:
 static Microsoft::VisualStudio::Text::Span TrackSpanBackwardInTime(Microsoft::VisualStudio::Text::SpanTrackingMode trackingMode, Microsoft::VisualStudio::Text::Span span, Microsoft::VisualStudio::Text::ITextImageVersion ^ currentVersion, Microsoft::VisualStudio::Text::ITextImageVersion ^ targetVersion);
public static Microsoft.VisualStudio.Text.Span TrackSpanBackwardInTime (Microsoft.VisualStudio.Text.SpanTrackingMode trackingMode, Microsoft.VisualStudio.Text.Span span, Microsoft.VisualStudio.Text.ITextImageVersion currentVersion, Microsoft.VisualStudio.Text.ITextImageVersion targetVersion);
static member TrackSpanBackwardInTime : Microsoft.VisualStudio.Text.SpanTrackingMode * Microsoft.VisualStudio.Text.Span * Microsoft.VisualStudio.Text.ITextImageVersion * Microsoft.VisualStudio.Text.ITextImageVersion -> Microsoft.VisualStudio.Text.Span
Public Shared Function TrackSpanBackwardInTime (trackingMode As SpanTrackingMode, span As Span, currentVersion As ITextImageVersion, targetVersion As ITextImageVersion) As Span

Parameters

trackingMode
SpanTrackingMode
span
Span
currentVersion
ITextImageVersion
targetVersion
ITextImageVersion

Returns

Applies to

TrackSpanBackwardInTime(SpanTrackingMode, Span, ITextVersion, ITextVersion)

Track a span backward in time using forward fidelity.

public:
 static Microsoft::VisualStudio::Text::Span TrackSpanBackwardInTime(Microsoft::VisualStudio::Text::SpanTrackingMode trackingMode, Microsoft::VisualStudio::Text::Span span, Microsoft::VisualStudio::Text::ITextVersion ^ currentVersion, Microsoft::VisualStudio::Text::ITextVersion ^ targetVersion);
public:
 static Microsoft::VisualStudio::Text::Span TrackSpanBackwardInTime(Microsoft::VisualStudio::Text::SpanTrackingMode trackingMode, Microsoft::VisualStudio::Text::Span span, Microsoft::VisualStudio::Text::ITextVersion ^ currentVersion, Microsoft::VisualStudio::Text::ITextVersion ^ targetVersion);
 static Microsoft::VisualStudio::Text::Span TrackSpanBackwardInTime(Microsoft::VisualStudio::Text::SpanTrackingMode trackingMode, Microsoft::VisualStudio::Text::Span span, Microsoft::VisualStudio::Text::ITextVersion const & currentVersion, Microsoft::VisualStudio::Text::ITextVersion const & targetVersion);
public static Microsoft.VisualStudio.Text.Span TrackSpanBackwardInTime (Microsoft.VisualStudio.Text.SpanTrackingMode trackingMode, Microsoft.VisualStudio.Text.Span span, Microsoft.VisualStudio.Text.ITextVersion currentVersion, Microsoft.VisualStudio.Text.ITextVersion targetVersion);
static member TrackSpanBackwardInTime : Microsoft.VisualStudio.Text.SpanTrackingMode * Microsoft.VisualStudio.Text.Span * Microsoft.VisualStudio.Text.ITextVersion * Microsoft.VisualStudio.Text.ITextVersion -> Microsoft.VisualStudio.Text.Span
Public Shared Function TrackSpanBackwardInTime (trackingMode As SpanTrackingMode, span As Span, currentVersion As ITextVersion, targetVersion As ITextVersion) As Span

Parameters

trackingMode
SpanTrackingMode

The span tracking mode.

span
Span

The current span.

currentVersion
ITextVersion

The current version.

targetVersion
ITextVersion

The target version.

Returns

Returns the new current span.

Applies to