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.GetLowerBound

Gets the lower bound of the specified dimension in the Array.

[Visual Basic]
Public Function GetLowerBound( _
   ByVal dimension As Integer _
) As Integer
[C#]
public int GetLowerBound(
   int dimension
);
[C++]
public: int GetLowerBound(
   int dimension
);
[JScript]
public function GetLowerBound(
   dimension : int
) : int;

Parameters

dimension
A zero-based dimension of the Array whose lower bound to determine.

Return Value

The lower bound of the specified dimension in the Array.

Exceptions

Exception Type Condition
IndexOutOfRangeException dimension is less than zero.

-or-

dimension is equal to or greater than Rank.

Remarks

For example, GetLowerBound (0) returns the lower bound for the indexes of the first dimension of the Array, and GetLowerBound (Rank- 1) will return the lower bound of the last dimension of the Array.

See Also

Array Class | Array Members | System Namespace | GetUpperBound | Rank