NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Array.GetValue (Int32, Int32, Int32)

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

[Visual Basic]
Overloads Public Function GetValue( _
   ByVal index1 As Integer, _
   ByVal index2 As Integer, _
   ByVal index3 As Integer _
) As Object
[C#]
public object GetValue(
   int index1,
   int index2,
   int index3
);
[C++]
public: Object* GetValue(
   int index1,
   int index2,
   int index3
);
[JScript]
public function GetValue(
   index1 : int,
   index2 : int,
   index3 : int
) : Object;

Parameters

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

Return Value

The value at the specified position in the Array.

Exceptions

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

Remarks

The GetLowerBound and GetUpperBound methods can be used to determine whether any of the indices is out of bounds.

See Also

Array Class | Array Members | System Namespace | Array.GetValue Overload List | GetLowerBound | GetUpperBound | SetValue