MediaBindingEventArgs.SetStreamReference 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.
Binds a media content stream reference to the MediaSource associated with the event.
public:
virtual void SetStreamReference(IRandomAccessStreamReference ^ stream, Platform::String ^ contentType) = SetStreamReference;
void SetStreamReference(IRandomAccessStreamReference const& stream, winrt::hstring const& contentType);
public void SetStreamReference(IRandomAccessStreamReference stream, string contentType);
function setStreamReference(stream, contentType)
Public Sub SetStreamReference (stream As IRandomAccessStreamReference, contentType As String)
Parameters
- stream
- IRandomAccessStreamReference
A stream reference containing the media content to be bound.
- contentType
-
String
Platform::String
winrt::hstring
A string specifying the content type of the media content.