ITrackingSpan::GetSpan Method (ITextVersion^)

 

Maps the tracking span to the specified version of its text buffer.

Namespace:   Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Span GetSpan(
	ITextVersion^ version
)

Parameters

version
Type: Microsoft.VisualStudio.Text::ITextVersion^

The version to which to map the tracking span.

Exception Condition
ArgumentNullException

version is null.

ArgumentException

version is not a version of TextBuffer.

Return to top
Show: