Share via


MediaBindingEventArgs.SetStreamReference メソッド

定義

イベントに関連付けられている MediaSource にメディア コンテンツ ストリーム参照をバインドします。

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)

パラメーター

stream
IRandomAccessStreamReference

バインドするメディア コンテンツを含むストリーム参照。

contentType
String

Platform::String

winrt::hstring

メディア コンテンツのコンテンツ タイプを指定する文字列。

適用対象

こちらもご覧ください