MaskedTextProvider.Remove Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: