This documentation is archived and is not being maintained.

Control.ResetText Method

Resets the Text property to its default value.

[Visual Basic]
Public Overridable Sub ResetText()
[C#]
public virtual void ResetText();
[C++]
public: virtual void ResetText();
[JScript]
public function ResetText();

Remarks

You typically use this method if you are either creating a designer for the Control or creating your own control incorporating the Control.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Control Class | Control Members | System.Windows.Forms Namespace | Text

Show: