Click or drag to resize

IJavaObjectToJavaArray Method

Reinterprets this IJavaObject as an IJavaArray reference.

Namespace: MASES.JCOBridge.C2JBridge.JVMInterop
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
Syntax
IJavaArray ToJavaArray()

Return Value

IJavaArray
An IJavaArray wrapping the same JVM object reference.
Exceptions
ExceptionCondition
InvalidCastException Thrown if the underlying JVM object is not a Java array.
Remarks
This conversion is valid only when the underlying JVM object is a Java array instance. Use this method to obtain a typed array view that enables element-level access via the IJavaArray API. Do not Dispose this instance while the retuned IJavaArray is still in use
See Also