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.

適用於

另請參閱