HttpCookiePairHeaderValueCollection.IndexOf(HttpCookiePairHeaderValue, UInt32) HttpCookiePairHeaderValueCollection.IndexOf(HttpCookiePairHeaderValue, UInt32) HttpCookiePairHeaderValueCollection.IndexOf(HttpCookiePairHeaderValue, UInt32) HttpCookiePairHeaderValueCollection.IndexOf(HttpCookiePairHeaderValue, UInt32) HttpCookiePairHeaderValueCollection.IndexOf(HttpCookiePairHeaderValue, UInt32) Method

Definition

Retrieves the index of an HttpCookiePairHeaderValue in the collection.

public : Platform::Boolean IndexOf(HttpCookiePairHeaderValue value, unsigned int index)
bool IndexOf(HttpCookiePairHeaderValue value, uint32_t const& index) const;
public bool IndexOf(HttpCookiePairHeaderValue value, UInt32 index)
Public Function IndexOf(value As HttpCookiePairHeaderValue, index As UInt32) As bool
var bool = httpCookiePairHeaderValueCollection.indexOf(value, index);

Parameters

index
UInt32 UInt32 UInt32

The index of the HttpCookiePairHeaderValue in the HttpCookiePairHeaderValueCollection.

If the item is found, this is the zero-based index of the item; otherwise, this parameter is 0.

Returns

bool bool bool

Indicates whether the item is found.

true if the HttpCookiePairHeaderValue item is found; otherwise, false.