ResourceQualifierVectorView.IndexOf(ResourceQualifier, UInt32) 方法

定義

傳回檢視中指定 之 ResourceQualifier 的索引。

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

參數

value
ResourceQualifier

在集合中尋找的 ResourceQualifier

index
UInt32

unsigned int

uint32_t

如果找到,則為物件的以零起始的索引。 如果找不到物件,方法會傳回零。

傳回

Boolean

bool

true 如果找到物件,則為 ;否則, false 如果找不到物件,則為 。

實作

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

適用於