Enum Methods
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | CompareTo(Object) | Compares this instance to a specified object and returns an indication of their relative values. |
![]() | Equals(Object) | Returns a value indicating whether this instance is equal to a specified object.(Overrides ValueType.Equals(Object).) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() ![]() | Format(Type, Object, String) | Converts the specified value of a specified enumerated type to its equivalent string representation according to the specified format. |
![]() | GetHashCode() | Returns the hash code for the value of this instance.(Overrides ValueType.GetHashCode().) |
![]() ![]() | GetName(Type, Object) | Retrieves the name of the constant in the specified enumeration that has the specified value. |
![]() ![]() | GetNames(Type) | Retrieves an array of the names of the constants in a specified enumeration. |
![]() | GetType() | |
![]() | GetTypeCode() | Returns the type code of the underlying type of this enumeration member. |
![]() ![]() | GetUnderlyingType(Type) | Returns the underlying type of the specified enumeration. |
![]() ![]() | GetValues(Type) | Retrieves an array of the values of the constants in a specified enumeration. |
![]() | HasFlag(Enum) | Determines whether one or more bit fields are set in the current instance. |
![]() ![]() | IsDefined(Type, Object) | Returns an indication whether a constant with a specified value exists in a specified enumeration. |
![]() | MemberwiseClone() | |
![]() ![]() | Parse(Type, String) | Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. |
![]() ![]() | Parse(Type, String, Boolean) | 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. |
![]() ![]() | ToObject(Type, Byte) | Converts the specified 8-bit unsigned integer to an enumeration member. |
![]() ![]() | ToObject(Type, Int16) | Converts the specified 16-bit signed integer to an enumeration member. |
![]() ![]() | ToObject(Type, Int32) | Converts the specified 32-bit signed integer to an enumeration member. |
![]() ![]() | ToObject(Type, Int64) | Converts the specified 64-bit signed integer to an enumeration member. |
![]() ![]() | ToObject(Type, Object) | Converts the specified object with an integer value to an enumeration member. |
![]() ![]() | ToObject(Type, SByte) | Converts the specified 8-bit signed integer value to an enumeration member. |
![]() ![]() | ToObject(Type, UInt16) | Converts the specified 16-bit unsigned integer value to an enumeration member. |
![]() ![]() | ToObject(Type, UInt32) | Converts the specified 32-bit unsigned integer value to an enumeration member. |
![]() ![]() | ToObject(Type, UInt64) | Converts the specified 64-bit unsigned integer value to an enumeration member. |
![]() | ToString() | Converts the value of this instance to its equivalent string representation.(Overrides ValueType.ToString().) |
![]() | ToString(IFormatProvider) | Obsolete. This method overload is obsolete; use Enum.ToString(). |
![]() | ToString(String) | Converts the value of this instance to its equivalent string representation using the specified format. |
![]() | ToString(String, IFormatProvider) | Obsolete. This method overload is obsolete; use Enum.ToString(String). |
![]() ![]() | TryParse<'TEnum>(String, 'TEnum) | Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. The return value indicates whether the conversion succeeded. |
![]() ![]() | TryParse<'TEnum>(String, Boolean, 'TEnum) | 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. |
| Name | Description | |
|---|---|---|
![]() ![]() | IConvertible.ToBoolean(IFormatProvider) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the current value to a Boolean value based on the underlying type. |
![]() ![]() | IConvertible.ToByte(IFormatProvider) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the current value to an 8-bit unsigned integer based on the underlying type. |
![]() ![]() | IConvertible.ToChar(IFormatProvider) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the current value to a Unicode character based on the underlying type. |
![]() ![]() | IConvertible.ToDateTime(IFormatProvider) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the current value to a DateTime based on the underlying type. |
![]() ![]() | IConvertible.ToDecimal(IFormatProvider) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the current value to a Decimal based on the underlying type. |
![]() ![]() | IConvertible.ToDouble(IFormatProvider) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the current value to a double-precision floating point number based on the underlying type. |
![]() ![]() | IConvertible.ToInt16(IFormatProvider) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the current value to a 16-bit signed integer based on the underlying type. |
![]() ![]() | IConvertible.ToInt32(IFormatProvider) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the current value to a 32-bit signed integer based on the underlying type. |
![]() ![]() | IConvertible.ToInt64(IFormatProvider) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the current value to a 64-bit signed integer based on the underlying type. |
![]() ![]() | IConvertible.ToSByte(IFormatProvider) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the current value to an 8-bit signed integer based on the underlying type. |
![]() ![]() | IConvertible.ToSingle(IFormatProvider) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the current value to a single-precision floating-point number based on the underlying type. |
![]() ![]() | IConvertible.ToType(Type, IFormatProvider) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the current value to a specified type based on the underlying type. |
![]() ![]() | IConvertible.ToUInt16(IFormatProvider) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the current value to a 16-bit unsigned integer based on the underlying type. |
![]() ![]() | IConvertible.ToUInt32(IFormatProvider) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the current value to a 32-bit unsigned integer based on the underlying type. |
![]() ![]() | IConvertible.ToUInt64(IFormatProvider) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the current value to a 64-bit unsigned integer based on the underlying type. |




