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
- trackingMode
Type: Microsoft.VisualStudio.Text.SpanTrackingMode
The span tracking mode.
- span
Type: Microsoft.VisualStudio.Text.Span
The current span.
- currentVersion
Type: Microsoft.VisualStudio.Text.ITextVersion
The current version.
- targetVersion
Type: Microsoft.VisualStudio.Text.ITextVersion
The 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.