Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a string representation of a COMVariant object. This string representation includes the value and type of the object.
Syntax
public str toString()
Run On
Called
Return Value
Type: str
The string representation of the COMVariant object.
Remarks
The actual string returned from this method depends on the variant data type of the COMVariant object.
Examples
The following example creates a COMVariant object and assigns the current date to it. It then prints a description of the object to the Infolog.
COMVariant theDay;
theDay = COMVariant::createFromDate(today());
info(theDay.toString());