MediaBindingEventArgs.SetStorageFile(IStorageFile) 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 storage file to the MediaSource associated with the event.
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)
Parameters
- file
- IStorageFile
The StorageFile containing media content.
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|