Share via


SetterBaseCollection.IndexOf(SetterBase, UInt32) Método

Definición

Recupera el índice del elemento especificado.

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

Parámetros

value
SetterBase

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

Comentarios

Nota:

La API de Microsoft .NET equivalente es IndexOf.

Se aplica a