MfTypeCode

Namespace ›› System ››
Parent Previous Next

MfTypeCode Class

(Inherits from MfEnum )

Specifies the type of an object.
MfTypeCode is an MfEnum style class.
MfTypeCode is a Sealed Class and cannot be inherited.

Links

Properties, Enumerations, Methods, Remarks

Constructors


Name

Description

Constructor()

Creates a new instance of MfTypeCode class and set initial value to zero.

Constructor(num)

Creates a new instance of MfTypeCode class and sets initial value to value of num.

Constructor(instanceEnum)

Creates a new instance of MfTypeCode class an set the initial value to the value of instanceEnum.

Constructor(enumItem)

Creates a new instance of MfTypeCode class and set its value to the MfEnum.EnumItem instance value.

Enumerations


Name

Description


Attribute

A type representing a MfAttrubute.


Boolean

A simple type representing Boolean values of true or false.


Byte

An integral type representing unsigned 8-bit integers with values between 0 and 255.


Char

A type representing unsigned 16-bit integers with values between 0 and 65535. The set of possible values for the MfChar type corresponds to the Unicode character set.


DateTime

A type representing a date and time value.


Empty

A null reference.


Enum

A type representing a MfEnum


EnumItem

A type representing a MfEnum.EnumItem


Float

A floating point type representing values ranging from approximately 5.0 x 10 -324 to 1.7 x 10 308 with a precision of 15-16 digits.


Int32

An integral type representing signed 32-bit


Int64

An integral type representing signed 64-bit integers


Null

A type representing MfNull Object


Object

A general type representing any reference or value type not explicitly represented by another MfTypeCode


String

A sealed class type representing Unicode character strings.

Properties


Name

Description

Instance

Gets the Singleton instance of the class. Inherited from MfEnum.

MaxValue

Gets a var value representing the Maximum value of all the EnumItem instances in an MfEnum instance as a var containing integer. Inherited from MfEnum.

Value

Gets or sets the value associated with the derived MfEnum class. Inherited from MfEnum.

Methods


Name

Description

CompareTo(obj)

Compares the current instance with another object derived from MfEnum or MfEnum.EnumItem Instance and returns an integer that indicates whether the current instance Value precedes, follows, or occurs in the same position in the sort order as the other object. Inherited from MfEnum.

DestroyInstance()

Set current instance of class to null. Overrides MfEnum.DestroyInstance()

Equals(objA)

Compares objA against current MfEnum instance to see if they have the same Value.  Inherited from MfEnum.

GetHashCode()

Gets A hash code for the current MfEnum. Overrides MfObject.GetHashCode(). Inherited from MfEnum.

GetInstance()

Gets the instance for the MfTypeCode class.

GetNames()

Gets a of MfGenericList of MfString containing all enumeration names of derived MfEnum class. Inherited from MfEnum.

GetType()

Gets the Type for the for the Class .Inherited from MfObject.

GetTypeCode()

Get an enumeration value of MfTypeCode the represents MfEnum Type Code. Inherited from MfEnum.

GetValues()

Gets a MfGenericList of MfInteger containing values of derived MfEnum class. Inherited from MfEnum.

Is(type[, IncludeEnumItem])

Gets if current instance of object is of the same type. Inherited from MfEnum.

IsInstance()

Get if the current class is an instance. Inherited from MfObject.

MemberwiseClone()

Creates a shallow copy of the current MfObject instance. Inherited from MfObject.

ToString()

Gets a string representation of the object. Inherited from MfEnum.

Remarks

Sealed Class

Related

MfEnum.Parse(), MfEnum.ParseItem(), MfEnum.TryParse(), MfEnum.TryParseItem(), MfEnum.ToObject()