Megosztás a következőn keresztül:


HttpContentCodingWithQualityHeaderValueCollection.IndexOf Method

Definition

Retrieves the index of an HttpContentCodingWithQualityHeaderValue in the collection.

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

Parameters

index
UInt32

unsigned int

uint32_t

The index of the HttpContentCodingWithQualityHeaderValue in the HttpContentCodingWithQualityHeaderValueCollection.

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 HttpContentCodingWithQualityHeaderValue item is found; otherwise, false.

Implements

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

Applies to