Share via


SourceText.Item[Int32] Property

Definition

Returns a character at given position.

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

Parameters

position
Int32

The position to get the character from.

Property Value

The character.

Exceptions

When position is negative or greater than Length.

Applies to