Return type:
Access:
Applies to: Progress.Lang.Object class, System.Object class (from the .NET Framework)
ToString( )On a pure .NET class, the information returned depends on the class type. Also, for any System.Object that boxes a .NET mapped data type (such as a System.Int32), the method returns a character string that represents the value of the mapped data type instance. (For more information on .NET mapped data types, see the Data types reference entry.) For all other .NET types, the information returned depends on how the .NET type overrides the ToString( ) method. For example, on a .NET generic type instance, the method returns a string with the following syntax:
namespace.object-name‘integer[type-name , type-name ]Where, namespace is the .NET namespace, object-name is the .NET generic class or interface name up to the left angle bracket (<) of the generic type name, integer after the backquote (‘) is the number of type parameters in the generic type, and type-name is the .NET type name substituted for each type parameter in the constructed type. For more information on .NET constructed type names for generic types, see the Data types reference entry.
"System.Collection.Generic.List<CHARACTER>"
System.Collections.Generic.List`1[System.String]
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |