Partilhar via


FormTreeItem.ToString Method

Definition

Returns a string representation of the instance of the FormTreeItem class.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A string that contains a description of the instance of the FormTreeItem class.

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.

The following example shows how to use the toString method.

print objFormTreeItem.toString();

Applies to