ItemCollection.IndexOf(Object, UInt32) Metodo

Definizione

Recupera l'indice dell'elemento specificato.

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

Parametri

value
Object

Platform::Object

IInspectable

Valore da trovare nella raccolta.

index
UInt32

unsigned int

uint32_t

Indice dell'elemento, se trovato.

Restituisce

Boolean

bool

true se è stato trovato un elemento con il valore specificato; in caso contrario, false.

Implementazioni

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

Si applica a