asp.net.ph

Array.GetValue Method ( Int32, Int32, Int32 )

System Namespace   Array Class


Returns the value at the specified position in the three-dimensional Array.

[ VB ]
<Serializable>
Overloads Public Function GetValue ( _
   ByVal index1 As Integer, _
   ByVal index2 As Integer, _
   ByVal index3 As Integer _
) As Object

[ C# ]
[Serializable]
public object GetValue (
   int index1,
   int index2,
   int index3
);

[ C++ ]
[Serializable]
public: Object* GetValue (
   int index1,
   int index2,
   int index3
);

[JScript ]
public Serializable
function GetValue (
   index1 : int,
   index2 : int,
   index3 : int
) : Object;

Parameters

index1
The first-dimension index of the Array element to get.
index2
The second-dimension index of the Array element to get.
index3
The third-dimension index of the Array element to get.

Return Value

The value at the specified position in the three-dimensional Array.

Exceptions


Exception Type Condition
ArgumentException The current Array does not have exactly three dimensions.
IndexOutOfRangeException index1 or index2 or index3 is outside the range of valid indexes for the corresponding dimension of the current Array.

Remarks

The GetLowerBound and GetUpperBound methods can determine whether any of the indexes is out of bounds.

See Also

Array Members   Array.GetValue Overload List   GetLowerBound   GetUpperBound   SetValue Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph