MaskedTextProvider.GetOperationResultFromHint Method

Determines whether the specified MaskedTextResultHint denotes success or failure.

Namespace: System.ComponentModel
Assembly: System (in system.dll)

public static bool GetOperationResultFromHint (
	MaskedTextResultHint hint
public static boolean GetOperationResultFromHint (
	MaskedTextResultHint hint
public static function GetOperationResultFromHint (
	hint : MaskedTextResultHint
) : boolean
Not applicable.



A MaskedTextResultHint value typically obtained as an output parameter from a previous operation.

Return Value

true if the specified MaskedTextResultHint value represents a success; otherwise, false if it represents failure.

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions