OVERONE DotNetJ client program reference

JavaObject.Invoke Method (String)

Invokes a method on the Java object.

public object Invoke(
   string methodName
);

Parameters

methodName
The name of the method to invoke on the Java object.

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