-
Notifications
You must be signed in to change notification settings - Fork 36
M_CodeJam_EnumCode_Defined__1
andrewvk edited this page Nov 5, 2016
·
3 revisions
Asserts that specified argument enum value is defined.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)
C#
public static void Defined<TEnum>(
TEnum value,
string argName
)
where TEnum : struct, new(), IComparable, IFormattable, IConvertible
VB
Public Shared Sub Defined(Of TEnum As {Structure, New, IComparable, IFormattable, IConvertible}) (
value As TEnum,
argName As String
)
F#
static member Defined :
value : 'TEnum *
argName : string -> unit when 'TEnum : struct, new() and IComparable and IFormattable and IConvertible
- value
- Type: TEnum
The argument. - argName
- Type: System.String
Name of the argument.
- TEnum
- The type of the enum value.