Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PhotoImportSession.FindItemsAsync Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Asynchronously finds items on the source device that are available for import.

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)

Parameters

contentTypeFilter
PhotoImportContentTypeFilter

A value indicating whether the find operation includes images, videos, or both in the results.

itemSelectionMode
PhotoImportItemSelectionMode

A value indicating whether all items, no items, or only new items in the results are initially marked as selected.

Returns

IAsyncOperationWithProgress<PhotoImportFindItemsResult,UInt32>

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

IAsyncOperationWithProgress<PhotoImportFindItemsResult,uint32_t>

An asynchronous operation that returns a PhotoImportFindItemsResult on successful completion.

Attributes

Applies to


Feedback

Was this page helpful?