ArrayGetValue Method (Int64) |
Gets the value at the specified position in the multidimensional
Array. The indexes are specified as an array of 64-bit integers.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public Object GetValue(
params long[] indices
)
Parameters
- indices
- Type: SystemInt64
A one-dimensional array of 64-bit integers that represent the indexes specifying the position of the Array element to get.
Return Value
Type:
ObjectThe value at the specified position in the multidimensional
Array.
Exceptions Exception | Condition |
---|
ArgumentNullException | indices is null. |
ArgumentException | The number of dimensions in the current Array is not equal to the number of elements in indices. |
ArgumentOutOfRangeException | Any element in indices is outside the range of valid indexes for the corresponding dimension of the current Array. |
See Also