SystemMediaTransportControlsDisplayUpdater.CopyFromFileAsync 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.
Initialize the media properties using the specified file.
public:
virtual IAsyncOperation<bool> ^ CopyFromFileAsync(MediaPlaybackType type, StorageFile ^ source) = CopyFromFileAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> CopyFromFileAsync(MediaPlaybackType const& type, StorageFile const& source);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> CopyFromFileAsync(MediaPlaybackType type, StorageFile source);
function copyFromFileAsync(type, source)
Public Function CopyFromFileAsync (type As MediaPlaybackType, source As StorageFile) As IAsyncOperation(Of Boolean)
Parameters
- type
- MediaPlaybackType
The type of media.
- source
- StorageFile
The file to initialize the media properties.
Returns
When this method completes, it returns a boolean value that indicates true if the operation succeeded; otherwise, false.
- Attributes