PhotoImportSource.FromIdAsync(String) 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 device ID.
public:
static IAsyncOperation<PhotoImportSource ^> ^ FromIdAsync(Platform::String ^ sourceId);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<PhotoImportSource> FromIdAsync(winrt::hstring const& sourceId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<PhotoImportSource> FromIdAsync(string sourceId);
function fromIdAsync(sourceId)
Public Shared Function FromIdAsync (sourceId As String) As IAsyncOperation(Of PhotoImportSource)
Parameters
- sourceId
-
String
Platform::String
winrt::hstring
The root folder from which the photo import source is created.
Returns
An asynchronous operation that returns a PhotoImportSource upon successful completion.
- Attributes