Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Maps this tracking point to the specified snapshot and gets the character at that position.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Function GetCharacter ( _
snapshot As ITextSnapshot _
) As Char
char GetCharacter(
ITextSnapshot snapshot
)
wchar_t GetCharacter(
ITextSnapshot^ snapshot
)
abstract GetCharacter :
snapshot:ITextSnapshot -> char
function GetCharacter(
snapshot : ITextSnapshot
) : char
Parameters
- snapshot
Type: Microsoft.VisualStudio.Text.ITextSnapshot
The snapshot to which to map the position.
Return Value
Type: System.Char
The character at the specified position.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The tracking point is at the end position of the snapshot. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.