ITrackingPoint::GetPoint Method (ITextSnapshot^)

 

Maps the tracking point to a particular snapshot of its ITextBuffer.

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

SnapshotPoint GetPoint(
	ITextSnapshot^ snapshot
)

Parameters

snapshot
Type: Microsoft.VisualStudio.Text::ITextSnapshot^

The snapshot to which to map the tracking point.

Exception Condition
ArgumentNullException

snapshot is null.

ArgumentException

snapshot is not a snapshot of ITextBuffer.

Return to top
Show: