HttpMediaTypeWithQualityHeaderValueCollection.IndexOf Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the index of an HttpMediaTypeWithQualityHeaderValue in the collection.
public:
virtual bool IndexOf(HttpMediaTypeWithQualityHeaderValue ^ value, [Out] unsigned int & index) = IVector<HttpMediaTypeWithQualityHeaderValue ^>::IndexOf;
bool IndexOf(HttpMediaTypeWithQualityHeaderValue const& value, [Out] uint32_t & index);
public bool IndexOf(HttpMediaTypeWithQualityHeaderValue value, out uint index);
Public Function IndexOf (value As HttpMediaTypeWithQualityHeaderValue, ByRef index As UInteger) As Boolean
Parameters
The HttpMediaTypeWithQualityHeaderValue to find in the HttpMediaTypeWithQualityHeaderValueCollection.
- index
-
UInt32
unsigned int
uint32_t
The index of the HttpMediaTypeWithQualityHeaderValue in the HttpMediaTypeWithQualityHeaderValueCollection.
If the item is found, this is the zero-based index of the item; otherwise, this parameter is 0.
Returns
bool
Indicates whether the item is found.
true if the HttpMediaTypeWithQualityHeaderValue item is found; otherwise, false.
Implements
1.IndexOf(
0,System.UInt32@)
M:Windows.Foundation.Collections.IVector1.IndexOf(
0,unsigned int@)
M:Windows.Foundation.Collections.IVector1.IndexOf(
0,uint32_t@)