Szerkesztés

Megosztás a következőn keresztül:


HttpHeadersNonValidated.IReadOnlyDictionary<String,HeaderStringValues>.ContainsKey Method

Definition

Determines whether the read-only dictionary contains an element that has the specified key.

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

Parameters

key
String

The key to locate.

Returns

true if the read-only dictionary contains an element that has the specified key; otherwise, false.

Implements

Applies to