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