(Inherits from MfPrimitive)
Represents Unsigned Integer 16 bit object
Fields, Properties, Methods, Example
| Name | Description | |
| 
 | Initializes a new instance of the MfUInt16 class optionally setting the Value property, ReturnAsObject property and the Readonly property. | 
| Name | Description | |
| 
 | Represents the largest possible value of a MfUInt16. This field is constant. | |
| 
 | Represents the smallest possible value of an MfUInt16. This field is constant. | 
| Name | Description | |
| 
 | Gets the if the derived class will allow the underlying value to be altered after the constructor has been called. Inherited from MfPrimitive. | |
| 
 | Gets or sets the if the MfUInt16 class will return objects as their return value for various functions. Inherited from MfPrimitive | |
| 
 | Gets or sets the value associated with the this instance. Overrides MfPrimitive.Value. | 
| Name | Description | |
| 
 | ||
| 
 | Compares this instance to a specified MfUInt16 instance. Overrides MfObject.CompareTo() | |
| 
 | Divides the current instance of MfUInt16 by the divisor value. | |
| 
 | Gets if this instance Value is the same as the obj instance Value. Overrides MfObject.Equals() | |
| 
 | Gets A hash code for the current MfUInt16 instance. Overrides MfObject.GetHashCode() | |
| 
 | Gets the Type for the for the Class .Inherited from MfObject. | |
| 
 | Get an enumeration value of MfTypeCode the represents MfUInt16 Type Code. | |
| 
 | Gets the integer number from Object or var containing integer. Overrides MfPrimitive.GetValue() | |
| 
 | Gets a integer number from Obj or returns Default value if Obj is unable to be converted to integer. Default must be a value that can be converted to integer or it will be ignored if Obj can not be converted to byte and an error will be thrown. Overrides MfPrimitive.GetValue() | |
| 
 | Gets a integer var from Obj or returns Default value if Obj is unable to be converted to integer..Default can be something other then a number or integer if AllowAny is true. Overrides MfPrimitive.GetValue() | |
| 
 | Compares the current MfUInt16 object to a specified MfUInt16 object and returns an indication of their relative values. | |
| 
 | Compares the current MfUInt16 object to a specified MfUInt16 object and returns an indication of their relative values. | |
| 
 | Compares the current MfUInt16 object to a specified MfUInt16 object and returns an indication of their relative values. | |
| 
 | Compares the current MfUInt16 object to a specified MfUInt16 object and returns an indication of their relative values. | |
| 
 | Multiplies the current instance of MfUInt16 by the value. | |
| 
 | Gets if current instance of object is of the same type. Inherited from MfObject. Inherited from MfObject. | |
| 
 | Get if the current class is an instance. Inherited from MfObject. | |
| 
 | Creates a shallow copy of the current MfObject instance. Inherited from MfObject. | |
| 
 | Converts the s representation of a number to its MfUInt16 equivalent | |
| 
 | Converts the s representation of a number to its MfUInt16 equivalent | |
| 
 | Converts the s representation of a number to its MfUInt16 equivalent | |
| 
 | Converts the s representation of a number to its MfUInt16 equivalent | |
| 
 | ||
| 
 | Gets a string representation of the Value of the object. Overrides MfPrimitive.ToString() | |
| 
 | Tries to converts the s representation of a number to its MfUInt16 equivalent. A return value indicates whether the conversion succeeded. | |
| 
 | Tries to converts the s representation of a number to its MfUInt16 equivalent. A return value indicates whether the conversion succeeded. | 
Version 0.4
mfiVar := new MfUInt16(1001)
mfiMax := new MfUInt16(10000)
While mfiVar.LessThen(mfiMax)
{
        mfiVar.Add(100)
}
MsgBox % mfiVar.Value ; displays 10001
mfInt := new MfUInt16(1001, true) ; set ReturnAsObject property to true
MsgBox % mfInt.Add(23).Add(44).Add(mfiVar).ToString() ; displays 11069
mfIntConst := new MfUInt16(0x7FFF, ,true)
MsgBox % mfIntConst.ToString() ; displays 32767
mfIntConst.Add(10)     ; throws MfNotSupportedException mfIntConst is read-only
mfIntConst.Value := 10 ; throws MfNotSupportedException mfIntConst is read-only