Share via


PhotoImportSource.FromIdAsync(String) Method

Definition

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

Applies to