Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Enum Members

Provides the base class for enumerations.

The following tables list the members exposed by the Enum type.

  Name Description
Protected method Supported by the .NET Compact Framework Enum Initializes a new instance of the Enum class.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework CompareTo Compares this instance to a specified object and returns an indication of their relative values.
Public method Supported by the .NET Compact Framework Equals Overloaded. Overridden. Returns a value indicating whether this instance is equal to a specified object.
Public method Static 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 .NET Compact Framework GetHashCode Overridden. Returns the hash code for the value of this instance.
Public method Static GetName Retrieves the name of the constant in the specified enumeration that has the specified value.
Public method Static GetNames Retrieves an array of the names of the constants in a specified enumeration.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetTypeCode Returns the underlying TypeCode for this instance.
Public method Static Supported by the .NET Compact Framework GetUnderlyingType Returns the underlying type of the specified enumeration.
Public method Static GetValues Retrieves an array of the values of the constants in a specified enumeration.
Public method Static Supported by the .NET Compact Framework IsDefined Returns an indication whether a constant with a specified value exists in a specified enumeration.
Public method Static Supported by the .NET Compact Framework Parse Overloaded. Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework ToObject Overloaded. Returns an instance of the specified enumeration type set to the specified value.
Public method Supported by the .NET Compact Framework ToString Overloaded. Overridden. Converts the value of this instance to its equivalent string representation.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToBoolean Converts the current value to a Boolean value based on the underlying type.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToByte Converts the current value to an 8-bit unsigned integer based on the underlying type.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToChar Converts the current value to a unicode character based on the underlying type.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDateTime Converts the current value to a DateTime based on the underlying type.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDecimal Converts the current value to a Decimal based on the underlying type.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDouble Converts the current value to a double-precision floating point number based on the underlying type.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt16 Converts the current value to a 16-bit signed integer based on the underlying type.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt32 Converts the current value to a 32-bit signed integer based on the underlying type.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt64 Converts the current value to a 64-bit signed integer based on the underlying type.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToSByte Converts the current value to an 8-bit signed integer based on the underlying type.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToSingle Converts the current value to a single-precision floating point number based on the underlying type.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToString  
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToType Converts the current value to a specified type based on the underlying type.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt16 Converts the current value to a 16-bit unsigned integer based on the underlying type.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt32 Converts the current value to a 32-bit unsigned integer based on the underlying type.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt64 Converts the current value to a 64-bit unsigned integer based on the underlying type.
Top

Community Additions

ADD
Show:
© 2015 Microsoft