HttpLanguageRangeWithQualityHeaderValueCollection.IndexOf 方法

定义

检索集合中 HttpLanguageRangeWithQualityHeaderValue 的索引。

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

参数

index
UInt32

unsigned int

uint32_t

HttpLanguageRangeWithQualityHeaderValueCollectionHttpLanguageRangeWithQualityHeaderValue 的索引。

如果找到该项,则这是该项的从零开始的索引;否则,此参数为 0。

返回

Boolean

bool

指示是否找到该项。

如果找到 HttpLanguageRangeWithQualityHeaderValue 项,则为 true;否则为 false

实现

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

适用于