TypeElementCollection.ContainsKey(Object) 方法

定義

傳回 Boolean,指出具有指定索引鍵的 TypeElement 是否存在於集合中。

public:
 bool ContainsKey(System::Object ^ key);
public bool ContainsKey (object key);
member this.ContainsKey : obj -> bool
Public Function ContainsKey (key As Object) As Boolean

參數

key
Object

要在集合中尋找的 TypeElement 索引鍵。

傳回

Boolean

如果集合包含具有指定索引鍵的 TypeElement,則為 true,否則為 false

適用於