ComponentOne List 8.0 for ActiveX
Get Method (XArrayDB)

 

Get Method (XArrayDB)

The Get method provides an alternate way of retrieving a value from an XArrayDB element.

Syntax

XArrayDB.Get row, column, var

Arguments

row and column are long integer indexes identifying a particular array element.

var is a variable that receives a variant value from the specified array element.

Return Value

None

Remarks

Method applies to XArrayDB object.

You can use this method in scripting engines that do not properly resolve the default Value property of XArrayDB.

The var argument receives the variant value of the XArrayDB element specified by the row and column indexes.

Example

The three statements following the variable declaration are all equivalent:

Dim var As Variant

MyArray.Get x, y, var

var = MyArray.Value(x, y)

var = MyArray(x, y)

See Also

XArrayDB Object

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback