On an ABL class, or on an ABL-derived .NET class instance that does not override ToString( ), this method returns the fully-qualified class or interface type name of the object followed by a unique object identifier, separated by an underscore. You typically override this method in a user-defined class to provide additional contextual information.
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:
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.