Share via


MediaBindingEventArgs.SetAdaptiveMediaSource(AdaptiveMediaSource) Method

Definition

Binds an adaptive media source to the MediaSource associated with the event.

public:
 virtual void SetAdaptiveMediaSource(AdaptiveMediaSource ^ mediaSource) = SetAdaptiveMediaSource;
void SetAdaptiveMediaSource(AdaptiveMediaSource const& mediaSource);
public void SetAdaptiveMediaSource(AdaptiveMediaSource mediaSource);
function setAdaptiveMediaSource(mediaSource)
Public Sub SetAdaptiveMediaSource (mediaSource As AdaptiveMediaSource)

Parameters

mediaSource
AdaptiveMediaSource

The AdaptiveMediaSource representing the media content.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to