ResourceCandidateVectorView.IndexOf(ResourceCandidate, UInt32) Метод

Определение

Возвращает индекс указанного объекта ResourceCandidate в наборе.

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

Параметры

value
ResourceCandidate

ResourceCandidate, который нужно найти в наборе.

index
UInt32

unsigned int

uint32_t

Отсчитываемый от нуля индекс ResourceCandidate, если элемент найден; нуль, если элемент не найден.

Возвращаемое значение

Boolean

bool

true Значение , если объект ResourceCandidate найден; в противном случае , 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@)

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