Click or drag to resize

CreateInstance Function

Create a new instance of a named class

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION CreateInstance(
	 cClassName AS USUAL,
	 _args AS USUAL
) AS Object

Parameters

cClassName
Type: USUAL
Specifies the class from which the new object is created.
_args
Type: USUAL
These optional parameters are passed to the constructor of the class

Return Value

Type: Object
The object that was created
See Also