Jaa


HttpCookieCollection.IndexOf(HttpCookie, UInt32) Method

Definition

Retrieves the index of an HttpCookie in the HttpCookieCollection.

public:
 virtual bool IndexOf(HttpCookie ^ value, [Out] unsigned int & index) = IVectorView<HttpCookie ^>::IndexOf;
bool IndexOf(HttpCookie const& value, [Out] uint32_t & index);
public bool IndexOf(HttpCookie value, out uint index);
Public Function IndexOf (value As HttpCookie, ByRef index As UInteger) As Boolean

Parameters

value
HttpCookie

The HttpCookie to find in the HttpCookieCollection.

index
UInt32

unsigned int

uint32_t

The index of the HttpCookie in the HttpCookieCollection.

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

Returns

Boolean

bool

Indicates whether the item is found.

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

Implements

M:Windows.Foundation.Collections.IVectorView1.IndexOf(0,System.UInt32@) M:Windows.Foundation.Collections.IVectorView1.IndexOf(0,unsigned int@) M:Windows.Foundation.Collections.IVectorView1.IndexOf(0,uint32_t@)

Applies to

See also