ItemCollection.IndexOf(Object, UInt32) Método

Definición

Recupera el índice del elemento especificado.

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

Parámetros

value
Object

Platform::Object

IInspectable

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

index
UInt32

unsigned int

uint32_t

Índice del elemento, 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