'Declaration Public Shared Function IsEnum( _ ByVal typeToTest As Type _ ) As Boolean
public static bool IsEnum( Type typeToTest )
Parameters
- typeToTest
- The type to test.
Return Value
true
if the specified type to test is an enum; otherwise, false
.