GuardArgumentIsValidEnum Method (Type, Object, String) | 
 Throws an exception if argumentValue is not a member of enum type enumType.
 
    Namespace: 
   Enkoni.Framework
    Assembly:
   Enkoni.Framework (in Enkoni.Framework.dll) Version: 1.3.0.1
Syntaxpublic static void ArgumentIsValidEnum(
	Type enumType,
	Object argumentValue,
	string argumentName
)
Public Shared Sub ArgumentIsValidEnum ( 
	enumType As Type,
	argumentValue As Object,
	argumentName As String
)
public:
static void ArgumentIsValidEnum(
	Type^ enumType, 
	Object^ argumentValue, 
	String^ argumentName
)
static member ArgumentIsValidEnum : 
        enumType : Type * 
        argumentValue : Object * 
        argumentName : string -> unit 
Parameters
- enumType
 - Type: SystemType
The type of enum. - argumentValue
 - Type: SystemObject
The argument value to test. - argumentName
 - Type: SystemString
Name of the argument. 
Exceptions
See Also