ITrackingPoint.GetCharacter(ITextSnapshot) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.