ITrackingSpan.GetEndPoint Method (ITextSnapshot)

 

Maps the end of the tracking span to the specified snapshot of its text buffer.

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

SnapshotPoint GetEndPoint(
	ITextSnapshot snapshot
)

Parameters

snapshot
Type: Microsoft.VisualStudio.Text.ITextSnapshot

The snapshot to which to map the end point.

Return Value

Type: Microsoft.VisualStudio.Text.SnapshotPoint

A SnapshotPoint of the specified snapshot.

Exception Condition
ArgumentNullException

snapshot is null.

ArgumentException

snapshot is not a snapshot of TextBuffer.

Return to top
Show: