Delen via


MediaElement.Source Property

Definition

Gets or sets a media source on the MediaElement.

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

void Source(Uri value);
public System.Uri Source { get; set; }
var uri = mediaElement.source;
mediaElement.source = uri;
Public Property Source As Uri
<MediaElement Source="uri" .../>

Property Value

The source of the element, as an object describing a Uniform Resource Identifier (URI). The default is null.

Applies to