Windows Dev Center

MediaElement.SetSource Method

Sets the source of a MediaElement.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method SetSource(MediaStreamSource) This sets the source of a MediaElement to a subclass of MediaStreamSource.
Public method SetSource(Stream) Sets the Source property using the supplied stream.

© 2015 Microsoft