CustomTrackToVersion Delegate
Visual Studio 2015
Provides a custom implementation of span tracking. This delegate should be implemented by custom tracking spans.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
public delegate Span CustomTrackToVersion( ITrackingSpan^ customSpan, ITextVersion^ currentVersion, ITextVersion^ targetVersion, Span currentSpan, Object^ customState )
Parameters
- customSpan
-
Type:
Microsoft.VisualStudio.Text::ITrackingSpan^
The span to be tracked.
- currentVersion
-
Type:
Microsoft.VisualStudio.Text::ITextVersion^
The version to which currentSpan belongs.
- targetVersion
-
Type:
Microsoft.VisualStudio.Text::ITextVersion^
The version to which currentSpan is to be tracked.
- currentSpan
-
Type:
Microsoft.VisualStudio.Text::Span
The span to track.
- customState
-
Type:
System::Object^
The custom state that was provided when the span was created.
targetVersion may be earlier than currentVersion.
Show: