แก้ไข

แชร์ผ่าน


MaskedTextProvider.Clear Method

Definition

Clears all the input characters from the formatted string.

Overloads

Clear()

Clears all the editable input characters from the formatted string, replacing them with prompt characters.

Clear(MaskedTextResultHint)

Clears all the editable input characters from the formatted string, replacing them with prompt characters, and then outputs descriptive information.

Clear()

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

Clears all the editable input characters from the formatted string, replacing them with prompt characters.

public:
 void Clear();
public void Clear ();
member this.Clear : unit -> unit
Public Sub Clear ()

Remarks

The Clear() method reinitializes the formatted string, inserting the prompt character into all editable positions.

See also

Applies to

Clear(MaskedTextResultHint)

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

Clears all the editable input characters from the formatted string, replacing them with prompt characters, and then outputs descriptive information.

public:
 void Clear([Runtime::InteropServices::Out] System::ComponentModel::MaskedTextResultHint % resultHint);
public void Clear (out System.ComponentModel.MaskedTextResultHint resultHint);
member this.Clear : MaskedTextResultHint -> unit
Public Sub Clear (ByRef resultHint As MaskedTextResultHint)

Parameters

resultHint
MaskedTextResultHint

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

Remarks

The Clear(MaskedTextResultHint) method reinitializes the formatted string, inserting the prompt character into all editable positions. It functions equivalently to the overridden version that takes no parameters, Clear(), except it outputs additional information.

See also

Applies to