MaskedTextProvider.Item[Int32] Property

Definition

Gets the element at the specified position in the formatted string.

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

Parameters

index
Int32

A zero-based index of the element to retrieve.

Property Value

The Char at the specified position in the formatted string.

Exceptions

index is less than zero or greater than or equal to the Length of the mask.

Remarks

The Item[Int32] property is the standard indexer for the MaskedTextProvider class.

Applies to

See also