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.

適用於

另請參閱