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)

public:
wchar_t GetChar()

Return Value

Type: System::Char

The character at the position of this snapshot point.

Exception Condition
ArgumentOutOfRangeException

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

Return to top
Show: