PhotoImportSource.FromFolderAsync(IStorageFolder) 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.
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