OutputVar := new MfSetFormatNumberType()
OutputVar := new MfSetFormatNumberType(num)
OutputVar := new MfSetFormatNumberType(instanceEnum)
OutputVar := new MfSetFormatNumberType(enumItem)
Creates a new instance of MfSetFormatNumberType class and set initial value to the value of IntegerFast.
Creates a new instance of MfSetFormatNumberType class and sets initial value to value of num.
num
An integer value representing an Enumeration Value of MfSetFormatNumberType.
MyEnum := new MfSetFormatNumberType(1) ; Integer
Creates a new instance of MfSetFormatNumberType class an set the intial value to the value of instanceEnum.
instanceEnum
an instance of MfSetFormatNumberType whose Value is used to construct this instance.
Creates a new instance of MfSetFormatNumberType class and set its value to the MfEnum.EnumItem instance value.
enumItem
MfEnum.EnumItem value must element of this instance
MyEnum := new MfSetFormatNumberType() ; create instance with default value of IntegerFast
MyEnum.Value := MfSetFormatNumberType.Instance.Float.Value ; MyEnum.Value is now 3
MyEnum.AddFlag(MfSetFormatNumberType.Instance.Integer) ; MyEnum.Value is now 1
MfE := new MfSetFormatNumberType(MyEnum) ; create a new instance and sets it value to the value of MyEnum
Msgbox % MFE.Value ; displays 1
Throws MfNotSupportedException if this sealed class is extended or inherited.
Throws MfArgumentException if arguments are not correct.
Instance