MaskedTextProvider.GetOperationResultFromHint(MaskedTextResultHint) 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.
Determines whether the specified MaskedTextResultHint denotes success or failure.
public:
static bool GetOperationResultFromHint(System::ComponentModel::MaskedTextResultHint hint);
public static bool GetOperationResultFromHint (System.ComponentModel.MaskedTextResultHint hint);
static member GetOperationResultFromHint : System.ComponentModel.MaskedTextResultHint -> bool
Public Shared Function GetOperationResultFromHint (hint As MaskedTextResultHint) As Boolean
Parameters
- hint
- MaskedTextResultHint
A MaskedTextResultHint value typically obtained as an output parameter from a previous operation.
Returns
true
if the specified MaskedTextResultHint value represents a success; otherwise, false
if it represents failure.
Remarks
The following methods of the MaskedTextProvider class contain a parameter of type MaskedTextResultHint that is used to output information about the operation of the method: Add, Clear, InsertAt, Remove, RemoveAt, Replace, Set, VerifyChar, and VerifyString. The GetOperationResultFromHint method interprets this value and returns a Boolean value that indicates whether the MaskedTextResultHint has signaled that the operation was a success or failure.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for