Home > Class Reference > ENSLIB namespace > %Activate.GenericObject

%Activate.GenericObject

class %Activate.GenericObject extends %Activate.IDispatch

This class provides functionality to create an ActiveX object, invoke its methods and Get/Set its properties by name.

Method Inventory (Including Private)

Methods (Including Private)

final classmethod CreateObject(Progid As %Library.String) as %RegisteredObject
This method is used to create a generic object given only its progid. If the object cannot be found an exception is thrown. The return value should be tested against $$$NULLOREF in the usual manner to ensure that the object has been successfully created
final classmethod GetObject(Moniker As %Library.String) as %RegisteredObject
This method is used to create a generic object from a moniker. If the object cannot be found an exception is thrown. The return value should be tested against $$$NULLOREF in the usual manner to ensure that the object has been successfully created.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)