Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MediaSource.CreateFromIMediaSource(IMediaSource) Method

Definition

Namespace:
Windows.Media.Core

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.

Applies to


Feedback

Was this page helpful?