TypeElementCollection.ContainsKey(Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳 a Boolean 表示集合中是否存在具有指定鍵的 a 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 。
傳回
true 若集合包含 a TypeElement 且鍵為指定鍵;否則, false。