IRequestCookieCollection.ContainsKey(String) Metoda

Definice

Určuje, zda IRequestCookieCollection obsahuje prvek se zadaným klíčem.

public:
 bool ContainsKey(System::String ^ key);
public bool ContainsKey (string key);
abstract member ContainsKey : string -> bool
Public Function ContainsKey (key As String) As Boolean

Parametry

key
String

Klíč, který chcete najít v souboru IRequestCookieCollection.

Návraty

Boolean

true if the IRequestCookieCollection contains an element with the key; otherwise, false.

Výjimky

klíč je null.

Platí pro