Delen via


HeaderDictionary.Contains(KeyValuePair<String,StringValues>) Method

Definition

Returns a value indicating whether the specified object occurs within this collection.

public:
 virtual bool Contains(System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::Extensions::Primitives::StringValues> item);
public bool Contains (System.Collections.Generic.KeyValuePair<string,Microsoft.Extensions.Primitives.StringValues> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<string, Microsoft.Extensions.Primitives.StringValues> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<string, Microsoft.Extensions.Primitives.StringValues> -> bool
Public Function Contains (item As KeyValuePair(Of String, StringValues)) As Boolean

Parameters

item
KeyValuePair<String,StringValues>

The item.

Returns

true if the specified object occurs within this collection; otherwise, false.

Implements

Applies to