MediaBindingEventArgs.SetStorageFile(IStorageFile) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將儲存體檔案系結至與事件相關聯的 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 引進)
|