Condividi tramite


SnapshotPoint.GetChar Method

Gets the character at the position of this snapshot point.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

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

Return Value

Type: System.Char
The character at the position of this snapshot point.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The position of this point is equal to the length of the snapshot.

.NET Framework Security

See Also

Reference

SnapshotPoint Structure

Microsoft.VisualStudio.Text Namespace