MediaSource.CreateFromIMediaSource(IMediaSource) MediaSource.CreateFromIMediaSource(IMediaSource) MediaSource.CreateFromIMediaSource(IMediaSource) MediaSource.CreateFromIMediaSource(IMediaSource) MediaSource.CreateFromIMediaSource(IMediaSource) Method

Definition

Creates an instance of MediaSource from the provided IMediaSource.

public : static MediaSource CreateFromIMediaSource(IMediaSource mediaSource)
static MediaSource CreateFromIMediaSource(IMediaSource mediaSource) const;
public static MediaSource CreateFromIMediaSource(IMediaSource mediaSource)
Public Shared Function CreateFromIMediaSource(mediaSource As IMediaSource) As MediaSource
var mediaSource = Windows.Media.Core.MediaSource.createFromIMediaSource(mediaSource);

Parameters

mediaSource
IMediaSource IMediaSource IMediaSource

The IMediaSource from which the MediaSource is created.

Returns