Share via


MediaBindingEventArgs.SetStorageFile(IStorageFile) メソッド

定義

イベントに関連付けられている MediaSource にストレージ ファイルをバインドします。

public:
 virtual void SetStorageFile(IStorageFile ^ file) = SetStorageFile;
void SetStorageFile(IStorageFile const& file);
public void SetStorageFile(IStorageFile file);
function setStorageFile(file)
Public Sub SetStorageFile (file As IStorageFile)

パラメーター

file
IStorageFile

メディア コンテンツを含む StorageFile

Windows の要件

デバイス ファミリ
Windows 10 Creators Update (10.0.15063.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v4.0 で導入)

適用対象