Control.ResetText Control.ResetText Control.ResetText Control.ResetText Method

定义

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.

适用于

另请参阅