System.Enum
namespace System
{
public abstract class Enum :
IComparable,
IConvertible,
IFormattable
{
protected Enum();
public int CompareTo(
object target);
public static string Format(
Type enumType,
object value,
string format);
public static string GetName(
Type enumType,
object value);
public static string[]
GetNames(
Type enumType);
public TypeCode GetTypeCode();
public static Type GetUnderlyingType(
Type enumType);
public static Array GetValues(
Type enumType);
public bool HasFlag(
Enum flag);
public static bool IsDefined(
Type enumType,
object value);
public static object Parse(
Type enumType,
string value);
public static object Parse(
Type enumType,
string value,
bool ignoreCase);
public static object ToObject(
Type enumType,
byte value);
public static object ToObject(
Type enumType,
short value);
public static object ToObject(
Type enumType,
int value);
public static object ToObject(
Type enumType,
long value);
public static object ToObject(
Type enumType,
object value);
public static object ToObject(
Type enumType,
sbyte value);
public static object ToObject(
Type enumType,
ushort value);
public static object ToObject(
Type enumType,
uint value);
public static object ToObject(
Type enumType,
ulong value);
public string ToString(
IFormatProvider provider);
public string ToString(
string format);
public string ToString(
string format,
IFormatProvider provider);
public static bool TryParse<
TEnum>(
string value,
out TEnum result)
where TEnum :
struct;
public static bool TryParse<
TEnum>(
string value,
bool ignoreCase,
out TEnum result)
where TEnum :
struct;
}
}