Click or drag to resize

JCOBridgeDirectBufferTSetValue(T, Int64) Method

Sets a value to the element at the specified position in the one-dimensional Array. The index is specified as a 64-bit integer.

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax
public void SetValue(
	T value,
	long index
)

Parameters

value  T
The new value for the specified element.
index  Int64
A 64-bit integer that represents the position of the Array element to set.
Exceptions
ExceptionCondition
ArgumentExceptionThe current Array does not have exactly one dimension.
InvalidCastExceptionvalue cannot be cast to the element type of the current Array.
ArgumentOutOfRangeExceptionindex is outside the range of valid indexes for the current Array.
See Also