Enum Methods

Enum Methods

 

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodCompareTo(Object)

Compares this instance to a specified object and returns an indication of their relative values.

System_CAPS_pubmethodEquals(Object)

Returns a value indicating whether this instance is equal to a specified object.(Overrides ValueType.Equals(Object).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFormat(Type, Object, String)

Converts the specified value of a specified enumerated type to its equivalent string representation according to the specified format.

System_CAPS_pubmethodGetHashCode()

Returns the hash code for the value of this instance.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodSystem_CAPS_staticGetName(Type, Object)

Retrieves the name of the constant in the specified enumeration that has the specified value.

System_CAPS_pubmethodSystem_CAPS_staticGetNames(Type)

Retrieves an array of the names of the constants in a specified enumeration.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetTypeCode()

Returns the type code of the underlying type of this enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticGetUnderlyingType(Type)

Returns the underlying type of the specified enumeration.

System_CAPS_pubmethodSystem_CAPS_staticGetValues(Type)

Retrieves an array of the values of the constants in a specified enumeration.

System_CAPS_pubmethodHasFlag(Enum)

Determines whether one or more bit fields are set in the current instance.

System_CAPS_pubmethodSystem_CAPS_staticIsDefined(Type, Object)

Returns an indication whether a constant with a specified value exists in a specified enumeration.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticParse(Type, String)

Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object.

System_CAPS_pubmethodSystem_CAPS_staticParse(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.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type, Byte)

Converts the specified 8-bit unsigned integer to an enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type, Int16)

Converts the specified 16-bit signed integer to an enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type, Int32)

Converts the specified 32-bit signed integer to an enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type, Int64)

Converts the specified 64-bit signed integer to an enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type, Object)

Converts the specified object with an integer value to an enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type, SByte)

Converts the specified 8-bit signed integer value to an enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type, UInt16)

Converts the specified 16-bit unsigned integer value to an enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type, UInt32)

Converts the specified 32-bit unsigned integer value to an enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type, UInt64)

Converts the specified 64-bit unsigned integer value to an enumeration member.

System_CAPS_pubmethodToString()

Converts the value of this instance to its equivalent string representation.(Overrides ValueType.ToString().)

System_CAPS_pubmethodToString(IFormatProvider)

Obsolete.This method overload is obsolete; use Enum.ToString().

System_CAPS_pubmethodToString(String)

Converts the value of this instance to its equivalent string representation using the specified format.

System_CAPS_pubmethodToString(String, IFormatProvider)

Obsolete.This method overload is obsolete; use Enum.ToString(String).

System_CAPS_pubmethodSystem_CAPS_staticTryParse<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.

System_CAPS_pubmethodSystem_CAPS_staticTryParse<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.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.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.

Return to top
Show:
© 2016 Microsoft