PhotoImportSession.FindItemsAsync メソッド

定義

インポートに使用できるソース デバイス上の項目を非同期的に検索します。

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)

パラメーター

contentTypeFilter
PhotoImportContentTypeFilter

検索操作に画像、ビデオ、またはその両方が結果に含まれるかどうかを示す値。

itemSelectionMode
PhotoImportItemSelectionMode

結果のすべての項目、項目なし、または新しい項目のみが最初に選択済みとしてマークされるかどうかを示す値。

戻り値

IAsyncOperationWithProgress<PhotoImportFindItemsResult,UInt32>

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

IAsyncOperationWithProgress<PhotoImportFindItemsResult,uint32_t>

正常に完了した場合に PhotoImportFindItemsResult を返す非同期操作。

属性

適用対象