Dela via


MediaEncodingProfile.CreateFromFileAsync(IStorageFile) Method

Definition

Creates an encoding profile from an existing media file.

public:
 static IAsyncOperation<MediaEncodingProfile ^> ^ CreateFromFileAsync(IStorageFile ^ file);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<MediaEncodingProfile> CreateFromFileAsync(IStorageFile const& file);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<MediaEncodingProfile> CreateFromFileAsync(IStorageFile file);
function createFromFileAsync(file)
Public Shared Function CreateFromFileAsync (file As IStorageFile) As IAsyncOperation(Of MediaEncodingProfile)

Parameters

file
IStorageFile

The media file from which to create the profile.

Returns

An object that is used to control the asynchronous operation.

Attributes

Applies to