Bagikan melalui


PhotoImportSession.FindItemsAsync Metode

Definisi

Secara asinkron menemukan item pada perangkat sumber yang tersedia untuk diimpor.

public:
 virtual IAsyncOperationWithProgress<PhotoImportFindItemsResult ^, unsigned int> ^ FindItemsAsync(PhotoImportContentTypeFilter contentTypeFilter, PhotoImportItemSelectionMode itemSelectionMode) = FindItemsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<PhotoImportFindItemsResult, uint32_t> FindItemsAsync(PhotoImportContentTypeFilter const& contentTypeFilter, PhotoImportItemSelectionMode const& itemSelectionMode);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<PhotoImportFindItemsResult,uint> FindItemsAsync(PhotoImportContentTypeFilter contentTypeFilter, PhotoImportItemSelectionMode itemSelectionMode);
function findItemsAsync(contentTypeFilter, itemSelectionMode)
Public Function FindItemsAsync (contentTypeFilter As PhotoImportContentTypeFilter, itemSelectionMode As PhotoImportItemSelectionMode) As IAsyncOperationWithProgress(Of PhotoImportFindItemsResult, UInteger)

Parameter

contentTypeFilter
PhotoImportContentTypeFilter

Nilai yang menunjukkan apakah operasi temukan mencakup gambar, video, atau keduanya dalam hasil.

itemSelectionMode
PhotoImportItemSelectionMode

Nilai yang menunjukkan apakah semua item, tidak ada item, atau hanya item baru dalam hasil yang awalnya ditandai sebagai dipilih.

Mengembalikan

IAsyncOperationWithProgress<PhotoImportFindItemsResult,UInt32>

Windows.Foundation.IAsyncOperationWithProgress<Windows.Media.Import.PhotoImportFindItemsResult,unsigned int>

IAsyncOperationWithProgress<PhotoImportFindItemsResult,uint32_t>

Operasi asinkron yang mengembalikan PhotoImportFindItemsResult pada penyelesaian yang berhasil.

Atribut

Berlaku untuk