TreeNode.toString Method

Returns a string that represents the current object.

Syntax

public str toString()

Run On

Called

Return Value

Type: str
A string that represents the current object.

Remarks

The default implementation returns the class name of the object. The method can be overridden in a derived class to return values that are meaningful for that type.For example, an instance of the class returns the method name and type of the method, such as instance or static.

See Also

Reference

TreeNode Class