Value

Namespace ›› System ›› MfPrimitive ›› Properties ››
Parent Previous Next

Value

Gets or sets the value associated with the derived class.

OutputVar := instance.Value
instance.Value := Value

Value

Sets the value of the MfPrimitive derived class

Gets

Gets value assigned to the derived instance.

Sets

Sets the value assigned to the derived instance.

Remarks

In derived classes such as MfString this property gets the value associated with the instance.

Throws

Throws MfNotSupportedException if on Set if Readonly is True.

Example

str := new MfString("Hello World") ; Create a new instance of the MfString Class
MsgBox % str.Value ; Displays Message box with containing Hello World
str.Value := "Cool Code" ; Sets the value of MfString Class instance str
MsgBox % str.Value ; Displays Message box with containing Cool Code