System Namespace Array Class
Returns the value at the specified position in the multidimensional Array.
[ VB ]
<Serializable>
Overloads Public Function GetValue ( _
ByVal indices ( ) As Integer _
) As Object
[ C# ]
[Serializable]
public object GetValue (
int [ ] indices
);
[ C++ ]
[Serializable]
public: Object* GetValue (
int indices __gc [ ]
);
[JScript ]
public Serializable
function GetValue (
indices : int [ ]
) : Object;
- indices
- A one-dimensional array of indexes that specifies the position of the Array element to get.
The value at the specified position in the multidimensional Array.
The number of elements in indices must equal the number of dimensions in the Array. All elements in the indices array must collectively specify the position of the desired element in the multidimensional Array.
The GetLowerBound and GetUpperBound methods can determine whether any of the indexes is out of bounds.
Array Members Array.GetValue Overload List GetLowerBound GetUpperBound SetValue