MediaClip.CreateFromFileAsync(IStorageFile) MediaClip.CreateFromFileAsync(IStorageFile) MediaClip.CreateFromFileAsync(IStorageFile) MediaClip.CreateFromFileAsync(IStorageFile) MediaClip.CreateFromFileAsync(IStorageFile) Method

Definition

Creates a video clip from a video file.

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

Parameters

file
IStorageFile IStorageFile IStorageFile

A StorageFile object representing the source video file.

Returns

A new media clip object containing a video clip of the video file.