Bagikan melalui


HttpProductInfoHeaderValueCollection.IndexOf Metode

Definisi

Mengambil indeks HttpProductInfoHeaderValue dalam koleksi.

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

Parameter

index
UInt32

unsigned int

uint32_t

Indeks HttpProductInfoHeaderValue di HttpProductInfoHeaderValueCollection.

Jika item ditemukan, ini adalah indeks berbasis nol dari item; jika tidak, parameter ini adalah 0.

Mengembalikan

Boolean

bool

Menunjukkan apakah item ditemukan.

true jika item HttpProductInfoHeaderValue ditemukan; jika tidak, salah.

Penerapan

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@)

Berlaku untuk