MediaSource.CreateFromIMediaSource(IMediaSource) 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 an instance of MediaSource from the provided IMediaSource.
public:
static MediaSource ^ CreateFromIMediaSource(IMediaSource ^ mediaSource);
static MediaSource CreateFromIMediaSource(IMediaSource const& mediaSource);
public static MediaSource CreateFromIMediaSource(IMediaSource mediaSource);
function createFromIMediaSource(mediaSource)
Public Shared Function CreateFromIMediaSource (mediaSource As IMediaSource) As MediaSource
Parameters
- mediaSource
- IMediaSource
The IMediaSource from which the MediaSource is created.
Returns
The new media source.