 | 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.JVMInteropAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
SyntaxIJavaArray DeclaredNewArray<TArrayType>(
params TArrayType[] data
)
Function DeclaredNewArray(Of TArrayType) (
ParamArray data As TArrayType()
) As IJavaArray
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
IJavaArrayAn
IJavaArray instance wrapping the newly created Java array.
See Also