閱讀英文

共用方式為


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

public char GetChar()

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