共用方式為


TextRange.Item[Int32] Property

Definition

Gets a single character at the specified position.

public char this[int position] { get; }
member this.Item(int) : char
Default Public ReadOnly Property Item(position As Integer) As Char

Parameters

position
Int32

The position of the character.

Property Value

The character at position.

Implements

Exceptions

position is less than zero or greater than or equal to the length of the text.

Applies to