IForeNETRuntime.ObjectToVariant

Syntax

ObjectToVariant(Object: IForeNETRuntimeObject): Variant;

Parameters

Object. .NET object to be converted.

Description

The ObjectToVariant method casts this .NET object to the Fore data type Variant.

Comments

After conversion it is possible to use the properties and methods, that are available for variables of the Variant type, to work with object.

Example

The example of use is given in description of the INetControlBox.CreateControl method.

See also:

IForeNETRuntime