Condividi tramite


Metodo SnapshotPoint.GetChar

Ottiene il carattere nella posizione di questo punto dello snapshot.

Spazio dei nomi:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Sintassi

'Dichiarazione
Public Function GetChar As Char
public char GetChar()
public:
wchar_t GetChar()
member GetChar : unit -> char
public function GetChar() : char

Valore restituito

Tipo: Char
Il carattere nella posizione di questo punto dello snapshot.

Eccezioni

Eccezione Condizione
ArgumentOutOfRangeException

La posizione di questo punto è uguale alla lunghezza dello snapshot.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

SnapshotPoint Struttura

Spazio dei nomi Microsoft.VisualStudio.Text