MediaElement.Source Property
Definition
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.
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.