MediaEncodingProfile.CreateFromFileAsync(IStorageFile) MediaEncodingProfile.CreateFromFileAsync(IStorageFile) MediaEncodingProfile.CreateFromFileAsync(IStorageFile) MediaEncodingProfile.CreateFromFileAsync(IStorageFile) MediaEncodingProfile.CreateFromFileAsync(IStorageFile) Method

Definition

Creates an encoding profile from an existing media file.

public : static IAsyncOperation<MediaEncodingProfile> CreateFromFileAsync(IStorageFile file)
static IAsyncOperation<MediaEncodingProfile> CreateFromFileAsync(IStorageFile file) const;
public static IAsyncOperation<MediaEncodingProfile> CreateFromFileAsync(IStorageFile file)
Public Shared Function CreateFromFileAsync(file As IStorageFile) As IAsyncOperation(Of MediaEncodingProfile)
Windows.Media.MediaProperties.MediaEncodingProfile.createFromFileAsync(file).done( /* Your success and error handlers */ );

Parameters

file
IStorageFile IStorageFile IStorageFile

The media file from which to create the profile.

Returns