ITrackingSpan.GetEndPoint(ITextSnapshot) Method

Definition

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

C++
public:
 Microsoft::VisualStudio::Text::SnapshotPoint GetEndPoint(Microsoft::VisualStudio::Text::ITextSnapshot ^ snapshot);

Parameters

snapshot
ITextSnapshot

The snapshot to which to map the end point.

Returns

A SnapshotPoint of the provided snapshot.

Exceptions

snapshot is null.

snapshot is not a snapshot of TextBuffer.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022