Dela via


MediaSource.CreateFromMediaBinder(MediaBinder) Method

Definition

Creates an instance of MediaSource from the provided MediaBinder.

public:
 static MediaSource ^ CreateFromMediaBinder(MediaBinder ^ binder);
 static MediaSource CreateFromMediaBinder(MediaBinder const& binder);
public static MediaSource CreateFromMediaBinder(MediaBinder binder);
function createFromMediaBinder(binder)
Public Shared Function CreateFromMediaBinder (binder As MediaBinder) As MediaSource

Parameters

binder
MediaBinder

The MediaBinder with which the MediaSource is associated.

Returns

The new media source.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to