Skip to content

M_CodeJam_EnumCode_FlagsDefined__1

andrewvk edited this page Nov 5, 2016 · 3 revisions

EnumCode.FlagsDefined(TEnum) Method

Asserts that all bits of the flags combination are defined.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#

public static void FlagsDefined<TEnum>(
	TEnum argFlags,
	string argName
)
where TEnum : struct, new(), IComparable, IFormattable, IConvertible

VB

Public Shared Sub FlagsDefined(Of TEnum As {Structure, New, IComparable, IFormattable, IConvertible}) ( 
	argFlags As TEnum,
	argName As String
)

F#

static member FlagsDefined : 
        argFlags : 'TEnum * 
        argName : string -> unit  when 'TEnum : struct, new() and IComparable and IFormattable and IConvertible

Parameters

 

argFlags
Type: TEnum
The bitwise combinations of the flags to check.
argName
Type: System.String
Name of the argument.

Type Parameters

 

TEnum
The type of the enum value.

See Also

Reference

EnumCode Class
CodeJam Namespace

Clone this wiki locally