MediaBindingEventArgs.SetStream(IRandomAccessStream, String) Method
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.
Sets the media content to be bound to the MediaSource.
public:
virtual void SetStream(IRandomAccessStream ^ stream, Platform::String ^ contentType) = SetStream;
void SetStream(IRandomAccessStream const& stream, winrt::hstring const& contentType);
public void SetStream(IRandomAccessStream stream, string contentType);
function setStream(stream, contentType)
Public Sub SetStream (stream As IRandomAccessStream, contentType As String)
Parameters
- stream
- IRandomAccessStream
A stream containing the media content.
- contentType
-
String
Platform::String
winrt::hstring
A string specifying the content type of the media content.