Control.ControlCollection.RemoveByKey(String) メソッド

定義

指定したキーを持つ子コントロールを削除します。

public:
 virtual void RemoveByKey(System::String ^ key);
public virtual void RemoveByKey (string key);
public virtual void RemoveByKey (string? key);
abstract member RemoveByKey : string -> unit
override this.RemoveByKey : string -> unit
Public Overridable Sub RemoveByKey (key As String)

パラメーター

key
String

削除する子コントロールの名前。

注釈

a のプロパティは NameControl 次の中の a Control のキーに対応します Control.ControlCollection

適用対象