AsLong Property

The AsLong property provides access to the object as to a Long variable.

Applies to objects: Field, Property.

Syntax

[[Let] RetVal = ] object.AsLong

[Let] object.AsLong = SetVal

The AsLong property syntax has these parts:

Part Description
object Required. A reference to an instance of the object.
RetVal Optional. A Long type variable.
SetVal Required. A Long type variable.

Remarks

There are also the AsBoolean, AsDouble and AsString properties, which treat an object as a Boolean, Double or String variable respectively.

Example

.......

 

See Also

Field Object, Property Object, AsBoolean Property, AsDouble Property, AsString Property.