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
‘선언
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
- 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.