System.Windows.Forms.Form.ToString Method

Gets a string representing the current instance of the form.

Syntax

public override string ToString ()

Returns

A string consisting of the fully qualified name of the form object's class, with the Form.Text property of the form appended to the end. For example, if the form is derived from the class MyForm in the MyNamespace namespace, and the Form.Text property is set to Hello, World, this method will return MyNamespace.MyForm, Text: Hello, World.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0