OLEObject.Value

From Xojo Documentation

Method


OLEObject.Value(PropertyName as String,[,params() as Variant][,ByValue as Boolean]) As Variant

New in 2005r1

Supported for all project types and targets.

Used to get or set a value of the object.

Notes

The parameter PropertyName is the name of the property to assign a new value to or to get the value. The value property can optionally take a list of properties when assigning a value, i.e.,

OLEObject.Value(NameOfProperty As String, params() As Variant) = value

If the optional parameter ByValue is True, property assignment is by value.