共用方式為


HttpRequestOptions.IReadOnlyDictionary<String,Object>.ContainsKey 方法

定義

判斷唯讀字典是否包含具有指定索引鍵的項目。

 virtual bool System.Collections.Generic.IReadOnlyDictionary<System.String,System.Object>.ContainsKey(System::String ^ key) = System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Object ^>::ContainsKey;
bool IReadOnlyDictionary<string,object>.ContainsKey (string key);
abstract member System.Collections.Generic.IReadOnlyDictionary<System.String,System.Object>.ContainsKey : string -> bool
override this.System.Collections.Generic.IReadOnlyDictionary<System.String,System.Object>.ContainsKey : string -> bool
Function ContainsKey (key As String) As Boolean Implements IReadOnlyDictionary(Of String, Object).ContainsKey

參數

key
String

要尋找的索引鍵。

傳回

如果唯讀字典中包含有指定之索引鍵的項目,則為 true,否則為 false

實作

適用於