CLR.Create
Creates a new .NET object instance of the type name supplied as argument. If more than one argument is passed, the successive arguments are interpreted as the arguments for the constructor of the .NET object. The return value is a reference to the created .NET object
Signature
CLR.Create(strTypeNameCLR : String, constructor arguments ... ) -> object |
Example
The following JScript code illustrates how to create instances of various .NET classes.
// Create an ArrayList |