DeviceInformationCollection.IndexOf(DeviceInformation, UInt32) Método

Definición

Devuelve el índice del objeto DeviceInformation especificado en la colección.

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

Parámetros

value
DeviceInformation

Objeto DeviceInformation de la colección.

index
UInt32

unsigned int

uint32_t

Índice.

Devoluciones

Boolean

bool

true si el método se realizó correctamente; de lo contrario, false.

Implementaciones

M:Windows.Foundation.Collections.IVectorView1.IndexOf(0,System.UInt32@) M:Windows.Foundation.Collections.IVectorView1.IndexOf(0,unsigned int@) M:Windows.Foundation.Collections.IVectorView1.IndexOf(0,uint32_t@)

Se aplica a