MaskedTextProvider.GetOperationResultFromHint(MaskedTextResultHint) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定指定的 MaskedTextResultHint 是否表示成功还是失败。
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
参数
- hint
- MaskedTextResultHint
一个 MaskedTextResultHint 值通常作为上一操作的输出参数获取。
返回
true 如果指定的 MaskedTextResultHint 值表示成功,则为 ;否则, false 如果表示失败。
注解
类的MaskedTextProvider以下方法包含一个类型MaskedTextResultHint参数,用于输出有关方法操作的信息:Add、、、ClearInsertAtRemove、RemoveAt、Replace、Set、、 VerifyChar和。VerifyString 该方法 GetOperationResultFromHint 解释此值并返回一个布尔值,该值指示操作是 MaskedTextResultHint 成功还是失败。