Udostępnij za pośrednictwem


Tracking.TrackSpanForwardInTime Method

Definition

Overloads

TrackSpanForwardInTime(SpanTrackingMode, Span, ITextImageVersion, ITextImageVersion)
TrackSpanForwardInTime(SpanTrackingMode, Span, ITextVersion, ITextVersion)

Track a span forward in time using forward fidelity.

TrackSpanForwardInTime(SpanTrackingMode, Span, ITextImageVersion, ITextImageVersion)

public:
 static Microsoft::VisualStudio::Text::Span TrackSpanForwardInTime(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 TrackSpanForwardInTime (Microsoft.VisualStudio.Text.SpanTrackingMode trackingMode, Microsoft.VisualStudio.Text.Span span, Microsoft.VisualStudio.Text.ITextImageVersion currentVersion, Microsoft.VisualStudio.Text.ITextImageVersion targetVersion);
static member TrackSpanForwardInTime : Microsoft.VisualStudio.Text.SpanTrackingMode * Microsoft.VisualStudio.Text.Span * Microsoft.VisualStudio.Text.ITextImageVersion * Microsoft.VisualStudio.Text.ITextImageVersion -> Microsoft.VisualStudio.Text.Span
Public Shared Function TrackSpanForwardInTime (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

TrackSpanForwardInTime(SpanTrackingMode, Span, ITextVersion, ITextVersion)

Track a span forward in time using forward fidelity.

public:
 static Microsoft::VisualStudio::Text::Span TrackSpanForwardInTime(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 TrackSpanForwardInTime(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 TrackSpanForwardInTime(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 TrackSpanForwardInTime (Microsoft.VisualStudio.Text.SpanTrackingMode trackingMode, Microsoft.VisualStudio.Text.Span span, Microsoft.VisualStudio.Text.ITextVersion currentVersion, Microsoft.VisualStudio.Text.ITextVersion targetVersion);
static member TrackSpanForwardInTime : Microsoft.VisualStudio.Text.SpanTrackingMode * Microsoft.VisualStudio.Text.Span * Microsoft.VisualStudio.Text.ITextVersion * Microsoft.VisualStudio.Text.ITextVersion -> Microsoft.VisualStudio.Text.Span
Public Shared Function TrackSpanForwardInTime (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