Click or drag to resize

IJVMWrapperInternalDeclaredNewArrayTArrayType(TArrayType) Method

Creates a new Java array, declared with the specified element type, from the elements of a managed array.

Namespace: MASES.JCOBridge.C2JBridge.JVMInterop
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntax
IJavaArray DeclaredNewArray<TArrayType>(
	params TArrayType[] data
)

Parameters

data  TArrayType
The elements used to populate the array. The content is copied into the Java array.

Type Parameters

TArrayType
The type of the array elements: a primitive type, or a type that can be mapped to a Java object.

Return Value

IJavaArray
An IJavaArray instance wrapping the newly created Java array.
See Also