HttpRequestOptions.ICollection<KeyValuePair<String,Object>>.Contains Method

Definition

Determines whether the ICollection<T> contains a specific value.

bool ICollection<KeyValuePair<string,object>>.Contains(System.Collections.Generic.KeyValuePair<string,object> item);

Parameters

item
KeyValuePair<String,Object>

The object to locate in the ICollection<T>.

Returns

true if item is found in the ICollection<T>; otherwise, false.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the HttpRequestOptions instance is cast to an ICollection<T> interface.

Applies to

Product Versions
.NET 5, 6, 7, 8, 9, 10