Language

JniEnvironment.Arrays.CreateMarshalInt64Array Method

Definition

Reuses a Java long-array wrapper or creates one from a managed sequence.

public static Java.Interop.JavaInt64Array? CreateMarshalInt64Array(System.Collections.Generic.IEnumerable<long>? value);
static member CreateMarshalInt64Array : seq<int64> -> Java.Interop.JavaInt64Array

Parameters

value
IEnumerable<Int64>

The managed long sequence, or null.

Returns

The matching supplied wrapper, a new wrapper containing copied elements, or null if value is null.

Remarks

New wrappers are marked for temporary marshaling cleanup; existing wrappers are returned unchanged. Use DisposeUnlessReferenced after marshaling to clean up a temporary wrapper.

Applies to