Partager via


ITextSnapshot.Item[Int32] Property

Definition

Gets a single character at the specified position.

public:
 property char default[int] { char get(int 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.

Exceptions

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

Applies to