Share via


PhotoImportSource.FromFolderAsync(IStorageFolder) Method

Definition

Creates a new instance of PhotoImportSource from the specified root folder.

public:
 static IAsyncOperation<PhotoImportSource ^> ^ FromFolderAsync(IStorageFolder ^ sourceRootFolder);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<PhotoImportSource> FromFolderAsync(IStorageFolder const& sourceRootFolder);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<PhotoImportSource> FromFolderAsync(IStorageFolder sourceRootFolder);
function fromFolderAsync(sourceRootFolder)
Public Shared Function FromFolderAsync (sourceRootFolder As IStorageFolder) As IAsyncOperation(Of PhotoImportSource)

Parameters

sourceRootFolder
IStorageFolder

The root folder from which the photo import source is created.

Returns

An asynchronous operation that returns a PhotoImportSource upon successful completion.

Attributes

Applies to