Click or drag to resize

imbTypeQueryExtensionsisEnum Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Returns TRUE if type is enum. Basicaly it just wraps Type.IsEnum value.

Namespace:  imbSCI.Core.extensions.typeworks
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static bool isEnum(
	this Type type
)
Request Example View Source

Parameters

type
Type: SystemType
Type to test

Return Value

Type: Boolean
The value of Type.IsEnum

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also