OVERONE DotNetJ client program reference

JavaObject.Invoke Method (String, String, Object)

Invokes a method on the Java object with one parameter.

public object Invoke(
   string methodName,
   string argType,
   object argVal
);

Parameters

methodName
The name of the method to invoke on the Java object.
argType
The argument type name. Use a Java class name, or a predefined type name with ParameterTypeNames.
argVal
The argument.

Return Value

The result of the method call on the Java object. If the Java method returns something like a primitive type, a .NET primitive type is returned, otherwise a JavaThing is returned, that can be casted to a OVERONE.DotNet.JavaObject or a JavaArray.

See Also

JavaObject Class | JavaObject Members | OVERONE.DotNetJ Namespace | JavaObject.Invoke Overload List