Microsoft SDK for Java

getLBound

The getLBound method of the SafeArray Class contains the following signatures:

getLBound()
getLBound(int dim)

getLBound()

Retrieves the smallest valid index of the array's first dimension. This method is identical to the Visual Basic LBound function.

Syntax

public int getLBound();

Return Value

Returns the smallest valid index.

getLBound(int dim)

Retrieves the smallest valid index of an arbitrary dimension. (Dimensions are numbered, starting with 1.) This method is identical to the Visual Basic LBound function.

Syntax

public int getLBound(int dim);

Return Value

Returns the smallest valid index.

Parameters

dim The dimension.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.