Condividi tramite


FolderInformation.GetItemsAsync Metodo

Definizione

Overload

GetItemsAsync()

Recupera tutti gli elementi dalla cartella corrente.

GetItemsAsync(UInt32, UInt32)

Recupera un intervallo di elementi dalla cartella corrente.

GetItemsAsync()

Recupera tutti gli elementi dalla cartella corrente.

public:
 virtual IAsyncOperation<IVectorView<IStorageItem ^> ^> ^ GetItemsAsync() = GetItemsAsync;
/// [Windows.Foundation.Metadata.Overload("GetItemsAsyncOverloadDefaultStartAndCount")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<IStorageItem>> GetItemsAsync();
[Windows.Foundation.Metadata.Overload("GetItemsAsyncOverloadDefaultStartAndCount")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<IStorageItem>> GetItemsAsync();
function getItemsAsync()
Public Function GetItemsAsync () As IAsyncOperation(Of IReadOnlyList(Of IStorageItem))

Restituisce

Al termine di questo metodo, restituisce l'elenco (tipo IVectorView) di elementi.

Implementazioni

Attributi

Vedi anche

Si applica a

GetItemsAsync(UInt32, UInt32)

Recupera un intervallo di elementi dalla cartella corrente.

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

Parametri

startIndex
UInt32

unsigned int

uint32_t

Indice in base zero del primo elemento nell'intervallo.

maxItemsToRetrieve
UInt32

unsigned int

uint32_t

Numero massimo di elementi da recuperare.

Restituisce

Al termine di questo metodo, restituisce l'elenco (tipo IVectorView) di elementi.

Implementazioni

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

Vedi anche

Si applica a