The AsBoolean property provides access to the object as to a Boolean variable.
Applies to objects: Field, Property.
[[Let] RetVal = ] object.AsBoolean [Let] object.AsBoolean = SetVal |
The AsBoolean property syntax has these parts:
Part | Description |
object | Required. A reference to an instance of the object. |
RetVal | Optional. A Boolean type variable. |
SetVal | Required. A Boolean type variable. |
There are also the AsDouble, AsLong and AsString properties, which treat an object as a Double, Long or String variable respectively.
....... |
See Also |
Field Object, Property Object, AsDouble Property, AsLong Property, AsString Property. |