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

%Activate.IDispatch

class %Activate.IDispatch extends %Activate.Interface

Method Inventory (Including Private)

Methods (Including Private)

classmethod %GetIID() as %String
final method GetProperty(Name As %String)
Get a named property. Generic objects are not directly aware of the methods or properties that the corresponding external ActiveX object implements. This is because the external object provides a means of mapping names of methods and properties at run-time only. To access a property of a generic object you must call the GetProperty method naming the property that you wish to access. Furthermore, for properties that have parameters ( for example, the Item property exposed by ActiveX collections), you should call the GetPropertyN method where 'N' corresponds to the number of arguments to the property.
final method GetProperty1(Name As %String, Arg1)
Get a named property with a single argument
final method GetProperty1AsStream(Name As %String, Arg1, Binary As %Boolean = 0)
Same as GetProperty1() but return the result as a %GlobalBinaryStream
final method GetPropertyAsStream(Name As %String, Binary As %Boolean = 0)
Same as GetProperty() but return the result as a %GlobalBinaryStream
final method InvokeMethod(Name As %String)
Invoke a named method. Generic objects are not directly aware of the methods or properties that the corresponding external ActiveX object implements. This is because the external object provides a means of mapping names of methods and properties at run-time only. To invoke a method of a generic object you must call the InvokeMethod method naming the method that you wish to access. Furthermore, for methods that have parameters you should call the InvokeMethodN method where 'N' corresponds to the number of arguments to the property.
final method InvokeMethod1(Name As %String, Arg1)
Invoke a named method with 1 argument
final method InvokeMethod10(Name As %String, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Arg8, Arg9, Arg10)
Invoke a named method with 10 arguments
final method InvokeMethod10AsStream(Name As %String, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Arg8, Arg9, Arg10, Binary As %Boolean = 0)
Same as InvokeMethod10() but return the result as a %GlobalBinaryStream
final method InvokeMethod1AsStream(Name As %String, Arg1, Binary As %Boolean = 0)
Same as InvokeMethod1() but return the result as a %GlobalBinaryStream
final method InvokeMethod2(Name As %String, Arg1, Arg2)
Invoke a named method with 2 arguments
final method InvokeMethod2AsStream(Name As %String, Arg1, Arg2, Binary As %Boolean = 0)
final method InvokeMethod3(Name As %String, Arg1, Arg2, Arg3)
Invoke a named method with 3 arguments
final method InvokeMethod3AsStream(Name As %String, Arg1, Arg2, Arg3, Binary As %Boolean = 0)
final method InvokeMethod4(Name As %String, Arg1, Arg2, Arg3, Arg4)
Invoke a named method with 4 arguments
final method InvokeMethod4AsStream(Name As %String, Arg1, Arg2, Arg3, Arg4, Binary As %Boolean = 0)
final method InvokeMethod5(Name As %String, Arg1, Arg2, Arg3, Arg4, Arg5)
Invoke a named method with 5 arguments
final method InvokeMethod5AsStream(Name As %String, Arg1, Arg2, Arg3, Arg4, Arg5, Binary As %Boolean = 0)
final method InvokeMethod6(Name As %String, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6)
final method InvokeMethod6AsStream(Name As %String, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Binary As %Boolean = 0)
final method InvokeMethod7(Name As %String, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7)
final method InvokeMethod7AsStream(Name As %String, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Binary As %Boolean = 0)
final method InvokeMethod8(Name As %String, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Arg8)
final method InvokeMethod8AsStream(Name As %String, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Arg8, Binary As %Boolean = 0)
final method InvokeMethod9(Name As %String, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Arg8, Arg9)
final method InvokeMethod9AsStream(Name As %String, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Arg8, Arg9, Binary As %Boolean = 0)
final method InvokeMethodAsStream(Name As %String, Binary As %Boolean = 0)
Same as InvokeMethod() but return the result as a %GlobalBinaryStream
final method SetProperty(Name As %String, Value)
Set a named property value. Generic objects are not directly aware of the methods or properties that the corresponding external ActiveX object implements. This is because the external object provides a means of mapping names of methods and properties at run-time only. To access a property of a generic object you must call the SetProperty method naming the property that you wish to access. Furthermore, for properties that have parameters ( for example, the Item property exposed by ActiveX collections), you should call the SetPropertyN method where 'N' corresponds to the number of arguments to the property
final method SetProperty1(Name As %String, Arg1, Value, Binary As %Boolean = 0)
Set a named property value with 1 argument

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Subclasses