Condividi tramite


FolderInformation.GetFilesAsync Metodo

Definizione

Overload

GetFilesAsync()

Recupera tutti i file dalla cartella corrente.

GetFilesAsync(CommonFileQuery)

Recupera i file dalla cartella corrente in base a una query di cartella comune.

GetFilesAsync(CommonFileQuery, UInt32, UInt32)

Recupera un intervallo di file dalla cartella corrente in base a una query di file comune.

GetFilesAsync()

Recupera tutti i file dalla cartella corrente.

public:
 virtual IAsyncOperation<IVectorView<StorageFile ^> ^> ^ GetFilesAsync() = GetFilesAsync;
/// [Windows.Foundation.Metadata.Overload("GetFilesAsyncOverloadDefaultOptionsStartAndCount")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<StorageFile>> GetFilesAsync();
[Windows.Foundation.Metadata.Overload("GetFilesAsyncOverloadDefaultOptionsStartAndCount")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<StorageFile>> GetFilesAsync();
function getFilesAsync()
Public Function GetFilesAsync () As IAsyncOperation(Of IReadOnlyList(Of StorageFile))

Restituisce

Al termine di questo metodo, restituisce l'elenco (tipo IVectorView) degli oggetti StorageFile nella cartella.

Implementazioni

Attributi

Vedi anche

Si applica a

GetFilesAsync(CommonFileQuery)

Recupera i file dalla cartella corrente in base a una query di cartella comune.

public:
 virtual IAsyncOperation<IVectorView<StorageFile ^> ^> ^ GetFilesAsync(CommonFileQuery query) = GetFilesAsync;
/// [Windows.Foundation.Metadata.Overload("GetFilesAsyncOverloadDefaultStartAndCount")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<StorageFile>> GetFilesAsync(CommonFileQuery const& query);
[Windows.Foundation.Metadata.Overload("GetFilesAsyncOverloadDefaultStartAndCount")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<StorageFile>> GetFilesAsync(CommonFileQuery query);
function getFilesAsync(query)
Public Function GetFilesAsync (query As CommonFileQuery) As IAsyncOperation(Of IReadOnlyList(Of StorageFile))

Parametri

query
CommonFileQuery

Query di file comune.

Restituisce

Al termine di questo metodo, restituisce l'elenco (tipo IVectorView) degli oggetti StorageFile nella cartella.

Implementazioni

Attributi

Vedi anche

Si applica a

GetFilesAsync(CommonFileQuery, UInt32, UInt32)

Recupera un intervallo di file dalla cartella corrente in base a una query di file comune.

public:
 virtual IAsyncOperation<IVectorView<StorageFile ^> ^> ^ GetFilesAsync(CommonFileQuery query, unsigned int startIndex, unsigned int maxItemsToRetrieve) = GetFilesAsync;
/// [Windows.Foundation.Metadata.Overload("GetFilesAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<StorageFile>> GetFilesAsync(CommonFileQuery const& query, uint32_t const& startIndex, uint32_t const& maxItemsToRetrieve);
[Windows.Foundation.Metadata.Overload("GetFilesAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<StorageFile>> GetFilesAsync(CommonFileQuery query, uint startIndex, uint maxItemsToRetrieve);
function getFilesAsync(query, startIndex, maxItemsToRetrieve)
Public Function GetFilesAsync (query As CommonFileQuery, startIndex As UInteger, maxItemsToRetrieve As UInteger) As IAsyncOperation(Of IReadOnlyList(Of StorageFile))

Parametri

query
CommonFileQuery

Query di file comune.

startIndex
UInt32

unsigned int

uint32_t

Indice in base zero del primo file nell'intervallo.

maxItemsToRetrieve
UInt32

unsigned int

uint32_t

Numero massimo di file da recuperare.

Restituisce

Al termine di questo metodo, restituisce l'elenco (tipo IVectorView) degli oggetti StorageFile nella cartella.

Implementazioni

M:Windows.Storage.Search.IStorageFolderQueryOperations.GetFilesAsync(Windows.Storage.Search.CommonFileQuery,System.UInt32,System.UInt32) M:Windows.Storage.Search.IStorageFolderQueryOperations.GetFilesAsync(Windows.Storage.Search.CommonFileQuery,unsigned int,unsigned int) M:Windows.Storage.Search.IStorageFolderQueryOperations.GetFilesAsync(Windows.Storage.Search.CommonFileQuery,uint32_t,uint32_t)
Attributi

Vedi anche

Si applica a