Control.ResetText 方法

定义

Text 属性重置为其默认值 (Empty)。Resets the Text property to its default value (Empty).

public:
 virtual void ResetText();
public virtual void ResetText ();
abstract member ResetText : unit -> unit
override this.ResetText : unit -> unit
Public Overridable Sub ResetText ()

注解

如果要为 Control 创建设计器或创建包含 Control的自己的控件,通常需要使用此方法。You typically use this method if you are either creating a designer for the Control or creating your own control incorporating the Control.

适用于

另请参阅