ITrackingPoint.GetCharacter(ITextSnapshot) Method
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);
C++/CX
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
- snapshot
- ITextSnapshot
The snapshot to which to map the position.
The character at the specified position.
This ITrackingPoint denotes the end position of the snapshot.
Product | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |