Click or drag to resize
EnumTEnum Class
Provides thin type-safe wrappers around the methods of the Enum class.
Inheritance Hierarchy
SystemObject
  BobsEnumTEnum

Namespace: Bobs
Assembly: Bobs.Utilities (in Bobs.Utilities.dll) Version: 0.1.0-dev001
Syntax
public static class Enum<TEnum>

Type Parameters

TEnum
The type of the enummeration.

The EnumTEnum type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetName
Retrieves the name of the constant in the specified enumeration that has the specified value.
Public methodStatic memberGetNames
Retrieves an array of the names of the constants in a specified enumeration.
Public methodStatic memberGetUnderlyingType
Returns the underlying type of the specified enumeration.
Public methodStatic memberGetValues
Retrieves an array of the values of the constants in a specified enumeration.
Public methodStatic memberIsDefined
Returns an indication whether a constant with a specified value exists in a specified enumeration.
Public methodStatic memberParse
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-insensitive.
Public methodStatic memberToEnum
Converts the specified object with an integer value to an enumeration member.
Top
See Also