CepObjectReadOnlyDictionary<T>.ContainsKey 方法 (String)

 

指出集合是否包含給定的索引鍵。

命名空間:   Microsoft.ComplexEventProcessing
組件:  Microsoft.ComplexEventProcessing (在 Microsoft.ComplexEventProcessing.dll 中)

語法

public bool ContainsKey(
    string key
)
public:
virtual bool ContainsKey(
    String^ key
) sealed
abstract ContainsKey : 
        key:string -> bool
override ContainsKey : 
        key:string -> bool
Public Function ContainsKey (
    key As String
) As Boolean

參數

  • key
    要在集合中搜尋的索引鍵。

傳回值

Type: System.Boolean

如果索引鍵包含在集合中,則為 true,否則為 false

實作

IDictionary<TKey, TValue>.ContainsKey(TKey)

請參閱

CepObjectReadOnlyDictionary<T> 類別
Microsoft.ComplexEventProcessing 命名空間

回到頁首