共用方式為


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

'宣告
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

Return Value

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

.NET Framework Security

See Also

Reference

Tracking Class

Microsoft.VisualStudio.Text Namespace