SceneComponentCollection.IndexOf(SceneComponent, UInt32) Метод

Определение

Извлекает индекс указанного элемента.

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

Параметры

value
SceneComponent

Значение, которое нужно найти в коллекции.

index
UInt32

unsigned int

uint32_t

Индекс искать элемент, если он найден.

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

Boolean

bool

значение 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@)

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

См. также раздел