Control.ControlCollection.ContainsKey(String) メソッド
定義
指定したキーを持つ項目が Control.ControlCollection に含まれているかどうかを確認します。Determines whether the Control.ControlCollection contains an item with the specified key.
public:
virtual bool ContainsKey(System::String ^ key);
public virtual bool ContainsKey (string key);
abstract member ContainsKey : string -> bool
override this.ContainsKey : string -> bool
Public Overridable Function ContainsKey (key As String) As Boolean
パラメーター
- key
- String
Control.ControlCollection 内で検索されるキー。The key to locate in the Control.ControlCollection.
戻り値
指定したキーを持つ項目が Control.ControlCollection に含まれている場合は true
。それ以外の場合は false
。true
if the Control.ControlCollection contains an item with the specified key; otherwise, false
.
注釈
Nameのプロパティは、のの Control キーに対応して Control Control.ControlCollection います。The Name property of a Control corresponds to the key for a Control in the Control.ControlCollection.