Поделиться через


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

Применяется к