MaskedTextProvider.Remove MaskedTextProvider.Remove MaskedTextProvider.Remove MaskedTextProvider.Remove Method

Definition

Removes the last assigned character from the formatted string.

Overloads

Remove() Remove() Remove() Remove()

Removes the last assigned character from the formatted string.

Remove(Int32, MaskedTextResultHint) Remove(Int32, MaskedTextResultHint) Remove(Int32, MaskedTextResultHint) Remove(Int32, MaskedTextResultHint)

Removes the last assigned character from the formatted string, and then outputs the removal position and descriptive information.

Remove() Remove() Remove() Remove()

Removes the last assigned character from the formatted string.

public:
 bool Remove();
public bool Remove ();
member this.Remove : unit -> bool
Public Function Remove () As Boolean
Returns

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

Remarks

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.

See Also

Remove(Int32, MaskedTextResultHint) Remove(Int32, MaskedTextResultHint) Remove(Int32, MaskedTextResultHint) Remove(Int32, MaskedTextResultHint)

Removes the last assigned character from the formatted string, and then outputs the removal position and descriptive information.

public:
 bool Remove([Runtime::InteropServices::Out] int % testPosition, [Runtime::InteropServices::Out] System::ComponentModel::MaskedTextResultHint % resultHint);
public bool Remove (out int testPosition, out System.ComponentModel.MaskedTextResultHint resultHint);
member this.Remove :  *  -> bool
Public Function Remove (ByRef testPosition As Integer, ByRef resultHint As MaskedTextResultHint) As Boolean
Parameters
testPosition
Int32 Int32 Int32 Int32

The zero-based position in the formatted string where the character was actually removed. An output parameter.

resultHint
MaskedTextResultHint MaskedTextResultHint MaskedTextResultHint MaskedTextResultHint

A MaskedTextResultHint that succinctly describes the result of the operation. An output parameter.

Returns

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

Remarks

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.

See Also

Applies to