Constructor()

Namespace ›› System ›› MfInt64 ›› Methods ››
Parent Previous Next

Constructor()

Initializes a new instance of the MfInt64 class.

OutputVar := new MfInt64([int, returnAsObj, readonly])

Constructor([int, retunAsObj, readonly])

Initializes a new instance of the MfInt64 class optionally setting the Value property, ReturnAsObject property and the Readonly property.

Parameters

int

The MfInt64 object or var containing integer to create a new instance with.

returnAsObj

Determines if the current instance of MfInt64 class will return MfInt64 instances from functions or vars containing integer. If omitted value is false

readonly

Determines if the current instance of MfInt64 class will allow its Value to be altered after it is constructed.
The Readonly property will reflect this value after the class is constructed.
If omitted value is false

Remarks

Sealed Class.
This constructor initializes the MfInt64 with the integer value of int.
Value property to the value of int.
ReturnAsObject will have a value of returnAsObj
Readonly will have a value of readonly.
If Readonly is true then any attempt to change the underlying value will result in MfNotSupportedException being thrown.

Throws

Throws MfNotSupportedException if class is extended.
Throws MfArgumentException if error in parameter.
Throws MfNotSupportedException if incorrect type of parameters or incorrect number of parameters.