Share via


DeviceInformationCollection.IndexOf(DeviceInformation, UInt32) Método

Definição

Retorna o índice do objeto DeviceInformation especificado na coleção.

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

O objeto DeviceInformation na coleção.

index
UInt32

unsigned int

uint32_t

O índice.

Retornos

Boolean

bool

true se o método tiver sido bem-sucedido; caso contrário, false.

Implementações

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

Aplica-se a