Array.SetValue Method (Object, Int64, Int64)
Sets a value to the element at the specified position in the two-dimensional Array. The indexes are specified as 64-bit integers.
Assembly: mscorlib (in mscorlib.dll)
[<ComVisibleAttribute(false)>] member SetValue : value:Object * index1:int64 * index2:int64 -> unit
The new value for the specified element.
A 64-bit integer that represents the first-dimension index of the Array element to set.
The current Array does not have exactly two dimensions.
value cannot be cast to the element type of the current Array.
Either index1 or index2 is outside the range of valid indexes for the corresponding dimension of the current Array.
For more information about conversions, see Convert.
This method is an O(1) operation.
If SetValue is used to assign null to an element of an array of value types, all fields of the element are initialized to zero. The value of the element is not a null reference, and cannot be found by searching for a null reference.
Available since 1.1