HeaderDictionary.ContainsKey Method

Determines whether the HeaderDictionary contains a specific key.

Namespace:  Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

'Declaration
Public Function ContainsKey ( _
    key As String _
) As Boolean
'Usage
Dim instance As HeaderDictionary 
Dim key As String 
Dim returnValue As Boolean 

returnValue = instance.ContainsKey(key)
public bool ContainsKey(
    string key
)
public:
virtual bool ContainsKey(
    String^ key
) sealed
abstract ContainsKey : 
        key:string -> bool  
override ContainsKey : 
        key:string -> bool
public final function ContainsKey(
    key : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the HeaderDictionary contains a specific key; otherwise, false.

Implements

IDictionary<TKey, TValue>.ContainsKey(TKey)

See Also

Reference

HeaderDictionary Class

Microsoft.Owin Namespace