AvalonEdit
GetCharAt Method (offset)
NamespacesICSharpCode.AvalonEdit.DocumentStringTextSourceGetCharAt(Int32)
Gets a character at the specified position in the document.
Declaration Syntax
C#Visual BasicVisual C++
public char GetCharAt(
	int offset
)
Public Function GetCharAt ( _
	offset As Integer _
) As Char
public:
virtual wchar_t GetCharAt(
	int offset
) sealed
Parameters
offset (Int32)
Return Value
The character at the specified position.
Remarks
This is the same as Text[offset], but is more efficient because it doesn't require creating a String object.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionOffset is outside the valid range (0 to TextLength-1).

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238