ITrackingPoint.GetCharacter(ITextSnapshot) Method

Definition

Maps this tracking point to the specified snapshot and gets the character at that position.

C++/CX
public:
 char16 GetCharacter(Microsoft::VisualStudio::Text::ITextSnapshot ^ snapshot);

Parameters

snapshot
ITextSnapshot

The snapshot to which to map the position.

Returns

The character at the specified position.

Exceptions

This ITrackingPoint denotes the end position of the snapshot.

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022