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 при успешном завершении.

Атрибуты

Применяется к