ITextSnapshot::CreateTrackingPoint Method (Int32, PointTrackingMode)

 

Creates a ITrackingPoint in this snapshot.

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

ITrackingPoint^ CreateTrackingPoint(
	int position,
	PointTrackingMode trackingMode
)

Parameters

position
Type: System::Int32

The position of the point.

trackingMode
Type: Microsoft.VisualStudio.Text::PointTrackingMode

The tracking mode of the point.

Exception Condition
ArgumentOutOfRangeException

position is less than zero or greater than the length of the snapshot.

Return to top
Show: