Microsoft SDK for Java

invoke

This method of the ActiveXComponent Class invokes a method on the ActiveX control.

Syntax

public Variant invoke(String methodname, Variant args[]);

Return Value

Returns the value returned by the invoked method.

Parameters

methodname The name of the method to invoke.
args The argument list for the method.

Exceptions

IllegalArgumentException if methodname is null.

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