Dela via


MediaPlayerElement.Source Property

Definition

Gets or sets a media source on the MediaPlayerElement.

public:
 property IMediaPlaybackSource ^ Source { IMediaPlaybackSource ^ get(); void set(IMediaPlaybackSource ^ value); };
IMediaPlaybackSource Source();

void Source(IMediaPlaybackSource value);
public IMediaPlaybackSource Source { get; set; }
var iMediaPlaybackSource = mediaPlayerElement.source;
mediaPlayerElement.source = iMediaPlaybackSource;
Public Property Source As IMediaPlaybackSource

Property Value

The source of the media. The default is null.

Applies to