HttpCookiePairHeaderValueCollection.IndexOf Methode

Definition

Ruft den Index eines HttpCookiePairHeaderValue in der Auflistung ab.

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

Parameter

index
UInt32

unsigned int

uint32_t

Der Index des HttpCookiePairHeaderValue in der HttpCookiePairHeaderValueCollection.

Wenn das Element gefunden wird, ist dies der nullbasierte Index des Elements. Andernfalls ist dieser Parameter 0.

Gibt zurück

Boolean

bool

Gibt an, ob das Element gefunden wird.

true , wenn das Element HttpCookiePairHeaderValue gefunden wird; andernfalls false.

Implementiert

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

Gilt für: