Click or drag to resize

imbTypeEnumExtensionsHasFlagAttribute Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Determines whether the Type of en has FlagsAttribute attribute set

Namespace:  imbSCI.Core.extensions.enumworks
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static bool HasFlagAttribute(
	this Enum en
)
Request Example View Source

Parameters

en
Type: SystemEnum
The en.

Return Value

Type: Boolean
true if [has flag attribute] [the specified en]; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Enum. 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