CSharp System Enum
CSharp examples for System:Enum
HOME
CSharp
System
Enum
Description
Click the following links for the tutorial for System and Enum.
Is Valid Enum Value
Field Name from Enum
Field Value from Enum
Has Any Flag from Enum
Checks whether Enum instance are assigned or not
Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded.
Returns true if the enumerable contains a values in sequential order, or is empty. Returns false otherwise.
Gets the index of the given element in this enumeration, or -1 when the item is absent from the enumeration.
Checks whether this enumerable is empty.
Retrieves the name of the constant in the specified enumeration that has the specified value.
Retrieves an array of the names of the constants in a specified enumeration.
Get Enum Description
To Enum
Get Enum
Convert Object To Enum
Get Enum Index
Get Enum Flags
Select List Of Enum Descriptions
Select List Of Enum Values
Adds the given value to the enumeration.
Removes the given value from the enumeration.
Get Values from Enum
Determines whether the Enum flag is on for the specified mask.
Sets the Enum flag off in the specified mask.
Sets the Enum flag on in the specified mask.
A .NET framework 3.5 way to mimic the FX4 "Has Flag" method.
Converts given enumerable to the typed list.
Should Convert Enum
Enum Has Any Flags
Set Enum Flags
Get Enum String Value
Get Enum Value
Get Enum Name Value
Searches an enum for a value by name and returns it.
Parses the enum.