Uredi

Deli z drugimi prek


MaskedTextProvider.Remove Method

Definition

Removes the last assigned character from the formatted string.

Overloads

Remove()

Removes the last assigned character from the formatted string.

Remove(Int32, MaskedTextResultHint)

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

Remove()

Source:
MaskedTextProvider.cs
Source:
MaskedTextProvider.cs
Source:
MaskedTextProvider.cs

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

Applies to

Remove(Int32, MaskedTextResultHint)

Source:
MaskedTextProvider.cs
Source:
MaskedTextProvider.cs
Source:
MaskedTextProvider.cs

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 : int * MaskedTextResultHint -> bool
Public Function Remove (ByRef testPosition As Integer, ByRef resultHint As MaskedTextResultHint) As Boolean

Parameters

testPosition
Int32

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

resultHint
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