Share via


ITrackingPoint.GetCharacter(ITextSnapshot) Method

Definition

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

public:
 char GetCharacter(Microsoft::VisualStudio::Text::ITextSnapshot ^ snapshot);
public:
 char16 GetCharacter(Microsoft::VisualStudio::Text::ITextSnapshot ^ snapshot);
char GetCharacter(Microsoft::VisualStudio::Text::ITextSnapshot const & snapshot);
public char GetCharacter (Microsoft.VisualStudio.Text.ITextSnapshot snapshot);
abstract member GetCharacter : Microsoft.VisualStudio.Text.ITextSnapshot -> char
Public Function GetCharacter (snapshot As ITextSnapshot) As Char

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