Mono Class Library: Overview

System.Enum: Members

The members of System.Enum are listed below.

See Also: Inherited members from System.ValueType

Protected Constructors

Documentation for this section has not yet been entered.

Public Methods

CompareTo(object) : int
Returns the sort order of the current instance compared to the specified object.
override
Equals(object) : bool
Determines whether the current instance and the specified object represent the same type and value.
static
Format(Type, object, string) : string
Converts the specified element of the specified enumeration type to its string representation using the specified format.
override
GetHashCode() : int
Generates a hash code for the current instance.
static
GetName(Type, object) : string
Retrieves the name of the constant of the specified enumeration type that has the specified value.
static
GetNames(Type) : string[]
Returns a zero-based, one-dimensional string array that contains the names of the constants of the specified enumeration type.
GetTypeCode() : TypeCode
Documentation for this section has not yet been entered.
static
GetUnderlyingType(Type) : Type
Returns the underlying type of the specified enumeration type.
static
GetValues(Type) : Array
Returns a zero-based, one-dimensional array of the values of the constants of the specified enumeration type.
static
IsDefined(Type, object) : bool
Returns a bool indicating whether a constant with the specified value exists in the specified enumeration type.
static
Parse(Type, string) : object
Converts the specified string representation of one or more enumerated constants of a specified enumeration type to an equivalent enumerated object.
static
Parse(Type, string, bool) : object
Converts the specified string representation of one or more enumerated constants of a specified enumeration type to an equivalent enumerated object. This method behaves in a case-sensitive or insensitive manner according to the specified bool.
static
ToObject(Type, byte) : object
Returns an instance of the specified enumeration type set to the specified byte value.
static
ToObject(Type, short) : object
Returns an instance of the specified enumeration type set to the specified short value.
static
ToObject(Type, int) : object
Returns an instance of the specified enumeration type set to the specified int value.
static
ToObject(Type, long) : object
Returns an instance of the specified enumeration type set to the specified long value.
static
ToObject(Type, object) : object
Returns an instance of the specified enumeration type set to the specified value.
static
ToObject(Type, sbyte) : object
Returns an instance of the specified enumeration type set to the specified sbyte value.
static
ToObject(Type, ushort) : object
Returns an instance of the specified enumeration type set to the specified ushort value.
static
ToObject(Type, uint) : object
Returns an instance of the specified enumeration type set to the specified uint value.
static
ToObject(Type, ulong) : object
Returns an instance of the specified enumeration type set to the specified ulong value.
override
ToString() : string
Converts the name of the value of the current instance to its equivalent string representation.
ToString(IFormatProvider) : string
Converts the name of the value of the current instance to its equivalent string representation.
ToString(string) : string
Converts the value of the current instance to its equivalent string representation using the specified format.
ToString(string, IFormatProvider) : string
Converts the numeric value of the current instance to its equivalent string representation using the specified format.

Explicitly Implemented Interface Members

IConvertible.ToBooleanDocumentation for this section has not yet been entered.
IConvertible.ToByteDocumentation for this section has not yet been entered.
IConvertible.ToCharDocumentation for this section has not yet been entered.
IConvertible.ToDateTimeDocumentation for this section has not yet been entered.
IConvertible.ToDecimalDocumentation for this section has not yet been entered.
IConvertible.ToDoubleDocumentation for this section has not yet been entered.
IConvertible.ToInt16Documentation for this section has not yet been entered.
IConvertible.ToInt32Documentation for this section has not yet been entered.
IConvertible.ToInt64Documentation for this section has not yet been entered.
IConvertible.ToSByteDocumentation for this section has not yet been entered.
IConvertible.ToSingleDocumentation for this section has not yet been entered.
IConvertible.ToTypeDocumentation for this section has not yet been entered.
IConvertible.ToUInt16Documentation for this section has not yet been entered.
IConvertible.ToUInt32Documentation for this section has not yet been entered.
IConvertible.ToUInt64Documentation for this section has not yet been entered.