Export (0) Print
Expand All

Enum Methods

The Enum type exposes the following members.

  Name Description
Public method Supported by the XNA Framework Supported by Portable Class Library CompareTo Compares this instance to a specified object and returns an indication of their relative values.
Public method Supported by the XNA Framework Supported by Portable Class Library Equals Returns a value indicating whether this instance is equal to a specified object. (Overrides ValueType.Equals(Object).)
Protected method Supported by the XNA Framework Supported by Portable Class Library Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member Supported by Portable Class Library Format Converts the specified value of a specified enumerated type to its equivalent string representation according to the specified format.
Public method Supported by the XNA Framework Supported by Portable Class Library GetHashCode Returns the hash code for the value of this instance. (Overrides ValueType.GetHashCode().)
Public method Static member Supported by Portable Class Library GetName Retrieves the name of the constant in the specified enumeration that has the specified value.
Public method Static member Supported by Portable Class Library GetNames Retrieves an array of the names of the constants in a specified enumeration.
Public method Supported by the XNA Framework Supported by Portable Class Library GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the XNA Framework GetTypeCode Returns the underlying TypeCode for this instance.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library GetUnderlyingType Returns the underlying type of the specified enumeration.
Public method Static member Supported by Portable Class Library GetValues Retrieves an array of the values of the constants in a specified enumeration.
Public method Supported by Portable Class Library HasFlag Determines whether one or more bit fields are set in the current instance.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library IsDefined Returns an indication whether a constant with a specified value exists in a specified enumeration.
Protected method Supported by the XNA Framework Supported by Portable Class Library MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Supported by Portable Class Library Parse(Type, String) Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library 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.
Public method Static member ToObject(Type, Byte) Converts the specified 8-bit unsigned integer to an enumeration member.
Public method Static member ToObject(Type, Int16) Converts the specified 16-bit signed integer to an enumeration member.
Public method Static member ToObject(Type, Int32) Converts the specified 32-bit signed integer to an enumeration member.
Public method Static member ToObject(Type, Int64) Converts the specified 64-bit signed integer to an enumeration member.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library ToObject(Type, Object) Converts the specified object with an integer value to an enumeration member.
Public method Static member ToObject(Type, SByte) Converts the specified 8-bit signed integer value to an enumeration member.
Public method Static member ToObject(Type, UInt16) Converts the specified 16-bit unsigned integer value to an enumeration member.
Public method Static member ToObject(Type, UInt32) Converts the specified 32-bit unsigned integer value to an enumeration member.
Public method Static member ToObject(Type, UInt64) Converts the specified 64-bit unsigned integer value to an enumeration member.
Public method Supported by the XNA Framework Supported by Portable Class Library ToString() Converts the value of this instance to its equivalent string representation. (Overrides ValueType.ToString().)
Public method Supported by the XNA Framework ToString(IFormatProvider) Obsolete. This method overload is obsolete; use Enum.ToString().
Public method Supported by the XNA Framework Supported by Portable Class Library ToString(String) Converts the value of this instance to its equivalent string representation using the specified format.
Public method Supported by the XNA Framework ToString(String, IFormatProvider) Obsolete. This method overload is obsolete; use Enum.ToString(String).
Public method Static member Supported by Portable Class Library 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.
Public method Static member Supported by Portable Class Library 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.
Top

  Name Description
Explicit interface implemetation Private method Supported by the XNA Framework IConvertible.ToBoolean Infrastructure. Converts the current value to a Boolean value based on the underlying type.
Explicit interface implemetation Private method Supported by the XNA Framework IConvertible.ToByte Infrastructure. Converts the current value to an 8-bit unsigned integer based on the underlying type.
Explicit interface implemetation Private method Supported by the XNA Framework IConvertible.ToChar Infrastructure. Converts the current value to a Unicode character based on the underlying type.
Explicit interface implemetation Private method Supported by the XNA Framework IConvertible.ToDateTime Infrastructure. Converts the current value to a DateTime based on the underlying type.
Explicit interface implemetation Private method Supported by the XNA Framework IConvertible.ToDecimal Infrastructure. Converts the current value to a Decimal based on the underlying type.
Explicit interface implemetation Private method Supported by the XNA Framework IConvertible.ToDouble Infrastructure. Converts the current value to a double-precision floating point number based on the underlying type.
Explicit interface implemetation Private method Supported by the XNA Framework IConvertible.ToInt16 Infrastructure. Converts the current value to a 16-bit signed integer based on the underlying type.
Explicit interface implemetation Private method Supported by the XNA Framework IConvertible.ToInt32 Infrastructure. Converts the current value to a 32-bit signed integer based on the underlying type.
Explicit interface implemetation Private method Supported by the XNA Framework IConvertible.ToInt64 Infrastructure. Converts the current value to a 64-bit signed integer based on the underlying type.
Explicit interface implemetation Private method Supported by the XNA Framework IConvertible.ToSByte Infrastructure. Converts the current value to an 8-bit signed integer based on the underlying type.
Explicit interface implemetation Private method Supported by the XNA Framework IConvertible.ToSingle Infrastructure. Converts the current value to a single-precision floating-point number based on the underlying type.
Explicit interface implemetation Private method Supported by the XNA Framework IConvertible.ToType Infrastructure. Converts the current value to a specified type based on the underlying type.
Explicit interface implemetation Private method Supported by the XNA Framework IConvertible.ToUInt16 Infrastructure. Converts the current value to a 16-bit unsigned integer based on the underlying type.
Explicit interface implemetation Private method Supported by the XNA Framework IConvertible.ToUInt32 Infrastructure. Converts the current value to a 32-bit unsigned integer based on the underlying type.
Explicit interface implemetation Private method Supported by the XNA Framework IConvertible.ToUInt64 Infrastructure. Converts the current value to a 64-bit unsigned integer based on the underlying type.
Explicit interface implemetation Private method Supported by Portable Class Library IFormattable.ToString Infrastructure. Obsolete. This method overload is obsolete; use Enum.ToString(String).
Top
Show:
© 2015 Microsoft