MaskedTextProvider::Remove Method ()

 

Removes the last assigned character from the formatted string.

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

public:
bool Remove()

Return Value

Type: System::Boolean

true if the character was successfully removed; otherwise, false.

The Remove method has no effect if there are no characters assigned to the mask yet.

When the last assigned character is removed from the formatted string, the editable mask character is reset for that position, allowing subsequent input.

.NET Framework
Available since 2.0
Return to top
Show: