MediaClip.CreateFromFileAsync(IStorageFile) 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.
Creates a video clip from a video file.
public:
static IAsyncOperation<MediaClip ^> ^ CreateFromFileAsync(IStorageFile ^ file);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<MediaClip> CreateFromFileAsync(IStorageFile const& file);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<MediaClip> CreateFromFileAsync(IStorageFile file);
function createFromFileAsync(file)
Public Shared Function CreateFromFileAsync (file As IStorageFile) As IAsyncOperation(Of MediaClip)
Parameters
- file
- IStorageFile
A StorageFile object representing the source video file.
Returns
A new media clip object containing a video clip of the video file.
- Attributes