Microsoft SDK for Java

callN

The callN method of the Dispatch Class contains the following signatures:

callN(Object pDispatch, String dispName, Object oArg[])
callN(Object pDispatch, int dispid, Object oArg[])

callN(Object pDispatch, String dispName, Object oArg[])

Invokes a method on an ActiveX Automation object.

Syntax

public static Variant callN(Object pDispatch, String dispName, Object oArg[]);

Return Value

Returns the Variant returned by the method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispname The name of the invoked method.
oArg The parameters of the invoked method.

callN(Object pDispatch, int dispid, Object oArg[])

Invokes a method on an ActiveX Automation object.

Syntax

public static Variant callN(Object pDispatch, int dispid, Object oArg[]);

Return Value

Returns the Variant returned by the method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
oArg The parameters of the invoked method.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.