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或创建你自己的控件、 包含ControlYou typically use this method if you are either creating a designer for the Control or creating your own control incorporating the Control.

适用于

另请参阅