-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_EnumHelper_IsDefined__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
6 revisions
Determines whether the string representation of value is defined.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static bool IsDefined<TEnum>(
string value
)
where TEnum : struct, new()
VB
Public Shared Function IsDefined(Of TEnum As {Structure, New}) (
value As String
) As Boolean
F#
static member IsDefined :
value : string -> bool when 'TEnum : struct, new()
- value
- Type: System.String
String representation of value to check.
- TEnum
- The type of the enum.
Type: Boolean
True, if enum defines the value.