Delen via


MediaSource.CreateFromIMediaSource(IMediaSource) Method

Definition

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.

Applies to