Rediger

Del via


MaskedTextProvider.GetOperationResultFromHint(MaskedTextResultHint) Method

Definition

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