MaskedTextProvider.Clear Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.