Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MediaBindingEventArgs.SetStreamReference Method

Definition

Namespace:
Windows.Media.Core

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.

Applies to

See also


Feedback

Was this page helpful?