FileInformationFactory.GetFilesAsync Méthode

Définition

Surcharges

GetFilesAsync()

Récupère une collection d’objets FileInformation qui contiennent des informations sur tous les objets StorageFile d’une collection.

GetFilesAsync(UInt32, UInt32)

Récupère une collection d’objets FileInformation qui contiennent des informations sur une plage d’objets StorageFile dans une collection.

GetFilesAsync()

Récupère une collection d’objets FileInformation qui contiennent des informations sur tous les objets StorageFile d’une collection.

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

Retours

Une fois cette méthode terminée, elle retourne la liste (type IVectorView) des objets FileInformation .

Attributs

Voir aussi

S’applique à

GetFilesAsync(UInt32, UInt32)

Récupère une collection d’objets FileInformation qui contiennent des informations sur une plage d’objets StorageFile dans une collection.

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

Paramètres

startIndex
UInt32

unsigned int

uint32_t

Index de base zéro du premier StorageFile de la plage.

maxItemsToRetrieve
UInt32

unsigned int

uint32_t

Nombre maximal d’objets StorageFile pour ant récupérer des informations.

Retours

Une fois cette méthode terminée, elle retourne la liste (type IVectorView) des objets FileInformation .

Attributs

Voir aussi

S’applique à