Microsoft SDK for Java

call

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

call(Object pDispatch, String dispName)
call(Object pDispatch, String dispName, Object o0)
call(Object pDispatch, String dispName, Object o0, Object o1)
call(Object pDispatch, String dispName, Object o0, Object o1, Object o2)
call(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3)
call(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4)
call(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5)
call(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6)
call(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7)
call(Object pDispatch, int dispid)
call(Object pDispatch, int dispid, Object o0)
call(Object pDispatch, int dispid, Object o0, Object o1)
call(Object pDispatch, int dispid, Object o0, Object o1, Object o2)
call(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3)
call(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4)
call(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5)
call(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6)
call(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7)

call(Object pDispatch, String DispName)

Invokes a method (that has no parameters) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, String dispName);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.

call(Object pDispatch, String dispName, Object o0)

Invokes a method (that has one parameter) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, String dispName, Object o0);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
o0 A parameter of the invoked method.

call(Object pDispatch, String dispName, Object o0, Object o1)

Invokes a method (that has two parameters) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, String dispName, Object o0, Object o1);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.

call(Object pDispatch, String dispName, Object o0, Object o1, Object o2)

Invokes a method (that has three parameters) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, String dispName, Object o0, Object o1, Object o2);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.

call(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3)

Invokes a method (that has four parameters) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.

call(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4)

Invokes a method (that has five parameters) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.
o4 A parameter of the invoked method.

call(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5)

Invokes a method (that has six parameters) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.
o4 A parameter of the invoked method.
o5 A parameter of the invoked method.

call(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6)

Invokes a method (that has seven parameters) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.
o4 A parameter of the invoked method.
o5 A parameter of the invoked method.
o6 A parameter of the invoked method.

call(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7)

Invokes a method (that has eight parameters) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6,

        Object o7);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.
o4 A parameter of the invoked method.
o5 A parameter of the invoked method.
o6 A parameter of the invoked method.
o7 A parameter of the invoked method.

call(Object pDispatch, int dispid)

Invokes a method (that has no parameters) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, int dispid);

Return Value

Returns the Variant returned by the invoked method.

Parameters

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

call(Object pDispatch, int dispid, Object o0)

Invokes a method (that has one parameter) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, int dispid, Object o0);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
o0 A parameter of the invoked method.

call(Object pDispatch, int dispid, Object o0, Object o1)

Invokes a method (that has two parameters) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, int dispid, Object o0, Object o1);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.

call(Object pDispatch, int dispid, Object o0, Object o1, Object o2)

Invokes a method (that has three parameters) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, int dispid, Object o0, Object o1, Object o2);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.

call(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3)

Invokes a method (that has four parameters) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid Identifies the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.

call(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4)

Invokes a method (that has five parameters) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.
o4 A parameter of the invoked method.

call(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5)

Invokes a method (that has six parameters) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.
o4 A parameter of the invoked method.
o5 A parameter of the invoked method.

call(Object pDispatch, int dispid, Object o0,Object o1, Object o2, Object o3, Object o4, Object o5, Object o6)

Invokes a method (that has seven parameters) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.
o4 A parameter of the invoked method.
o5 A parameter of the invoked method.
o6 A parameter of the invoked method.

call(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7)

Invokes a method (that has eight parameters) on an ActiveX Automation object.

Syntax

public static Variant call(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6,

        Object o7);

Return Value

Returns the Variant returned by the invoked method.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.
o4 A parameter of the invoked method.
o5 A parameter of the invoked method.
o6 A parameter of the invoked method.
o7 A parameter of the invoked method.

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