MaskedTextProvider::Item Property (Int32)

 

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

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public:
property wchar_t default[
	int index
] {
	wchar_t get(int index);
}

Parameters

index
Type: System::Int32

A zero-based index of the element to retrieve.

Property Value

Type: System::Char

The Char at the specified position in the formatted string.

Exception Condition
IndexOutOfRangeException

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

The Item property is the standard indexer for the MaskedTextProvider class.

.NET Framework
Available since 2.0
Return to top
Show: