Compartir a través de


FilePickerSelectedFilesArray.IndexOf(StorageFile, UInt32) Método

Definición

Recupera el índice de un objeto StorageFile especificado en la colección.

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

Parámetros

value
StorageFile

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

index
UInt32

unsigned int

uint32_t

Índice de base cero del objeto si se encuentra. Se devuelve cero si no se encuentra el objeto .

Devoluciones

Boolean

bool

True si se encuentra el objeto; en caso 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