Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
MediaEncodingProfile.CreateFromFileAsync(IStorageFile) Method
Definition
- Namespace:
- Windows.Media.MediaProperties
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 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
Feedback
Was this page helpful?
