MediaElement::Source Property
.NET Framework (current version)
Gets or sets a media source on the MediaElement.
Assembly: PresentationFramework (in PresentationFramework.dll)
Property Value
Type: System::Uri^The URI that specifies the source of the element. The default is null.
| Exception | Condition |
|---|---|
| InvalidOperationException | The Clock property is not null. |
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: