ITrackingPoint::GetPosition Method (ITextVersion^)

 

Gets the position of the tracking point in the specified ITextVersion.

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

int GetPosition(
	ITextVersion^ version
)

Parameters

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

The version to which to map the position.

Return Value

Type: System::Int32

A position in the given version.

Exception Condition
ArgumentNullException

version is null.

ArgumentException

version is not a version of TextBuffer.

Return to top
Show: