Lire en anglais

Partager via


ITrackingPoint.GetCharacter Method

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

char GetCharacter(
    ITextSnapshot snapshot
)

Parameters

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

See Also

Reference

ITrackingPoint Interface

Microsoft.VisualStudio.Text Namespace