FileInformationFactory.GetItemsAsync Méthode

Définition

Surcharges

GetItemsAsync()

Récupère une collection d’objets IStorageItemInformation qui contiennent des informations sur tous les éléments de la collection.

GetItemsAsync(UInt32, UInt32)

Récupère une collection d’objets IStorageItemInformation qui contiennent des informations sur une plage d’éléments d’une collection.

GetItemsAsync()

Récupère une collection d’objets IStorageItemInformation qui contiennent des informations sur tous les éléments de la collection.

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

Retours

Lorsque cette méthode se termine correctement, elle retourne la liste (de type IVectorView) des objets FileInformation et FolderInformation .

Attributs

Voir aussi

S’applique à

GetItemsAsync(UInt32, UInt32)

Récupère une collection d’objets IStorageItemInformation qui contiennent des informations sur une plage d’éléments d’une collection.

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

Paramètres

startIndex
UInt32

unsigned int

uint32_t

Index de base zéro du premier élément de la plage.

maxItemsToRetrieve
UInt32

unsigned int

uint32_t

Nombre maximal d’éléments pour ant récupérer des informations.

Retours

Lorsque cette méthode se termine correctement, elle retourne la liste (de type IVectorView) des objets FileInformation et FolderInformation .

Attributs

Voir aussi

S’applique à