COM.toString Method

Returns a string that represents the instance of the COM class.

Syntax

public str toString()

Run On

Called

Return Value

Type: str
A string that contains a description of the instance of the COM class.

Examples

The following example shows how to use the toString method.

print objCOM.toString();

See Also

Reference

COM Class