Share via


DependencyObjectCollection.IndexOf(DependencyObject, UInt32) Método

Definición

Recupera el índice del elemento especificado.

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

Parámetros

value
DependencyObject

Valor que se va a buscar en la colección.

index
UInt32

unsigned int

uint32_t

Índice del elemento que se va a buscar, si se encuentra.

Devoluciones

Boolean

bool

true si se encontró un elemento con el valor especificado; de lo contrario, false.

Implementaciones

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

Se aplica a