 | IJavaArraySetT(Int32, ArraySegmentT) Method |
Sets the elements in values starting from the position startIndex of the Java array.
Namespace: MASES.JCOBridge.C2JBridge.JVMInteropAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntaxvoid Set<T>(
int startIndex,
ArraySegment<T> values
)
Sub Set(Of T) (
startIndex As Integer,
values As ArraySegment(Of T)
)
Parameters
- startIndex Int32
- The zero-based index of the Java array at which the first element is written.
- values ArraySegmentT
- The segment to copy into the Java array. Only the Count elements starting at Offset are used.
Type Parameters
- T
-
The element type of values. Supported types are the native primitives
(bool, byte, char, short,
int, long, float, double),
IJavaArray and IJavaObject. The type must match the element type of the Java array.
Exceptions
See Also