Gets the value at the specified position in the current
two-dimensional instance.
[Edit]
Parameters
- index1
- A int that contains the first-dimension index of the element in the current instance to get.
[Edit]
- index2
- A int that contains the second-dimension index of the element in the current instance to get.
[Edit]
Returns
A object that contains the value at the specified position in the current
instance.
[Edit]
Exceptions
Type | Reason |
---|
ArgumentException | The current instance does not have exactly two dimensions.
[Edit]
|
IndexOutOfRangeException | At least one of index1 or index2 is outside the range of valid indexes for the corresponding dimension of the current instance.
[Edit]
|
Remarks
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0