Creates either a COM or .NET object from the specified Class Name.

When a .NET object is being created, the Class Name must be able to be resolved in either the current assembly or in the current assembly's binding paths. If not, use the CreateObjectFromAssembly method.

Syntax

ISRuntime.CreateObject(className, newObject)

Parameters

NameTypeOptionalByRefDescription
className String The type of object to create.
newObject Object ByRef The newly created object.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISRuntime
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0