EnumHelperUnsetFlagT Method  | 
 Unsets the specified flag in the enum value.
 
    Namespace: 
   Enkoni.Framework
    Assembly:
   Enkoni.Framework (in Enkoni.Framework.dll) Version: 1.3.0.1
Syntaxpublic static T UnsetFlag<T>(
	T enumValue,
	T flag
)
where T : struct, new()
Public Shared Function UnsetFlag(Of T As {Structure, New}) ( 
	enumValue As T,
	flag As T
) As Tpublic:
generic<typename T>
where T : value class, gcnew()
static T UnsetFlag(
	T enumValue, 
	T flag
)
static member UnsetFlag : 
        enumValue : 'T * 
        flag : 'T -> 'T  when 'T : struct, new()
Parameters
- enumValue
 - Type: T
The value that must have the flag bit removed. - flag
 - Type: T
The flag bit that must be removed. 
Type Parameters
- T
 - The type of enum that is manipulated.
 
Return Value
Type: 
TThe enum value with the flag bit removed.
See Also