AsString Property

The AsString property provides access to the object as to a String variable.

Applies to objects: Field, Property.

Syntax

[[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.

Remarks

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

Example

.......

 

See Also

Field Object, Property Object, AsBoolean Property, AsDouble Property, AsLong Property.