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