Share via


BackgroundAudioTrack.UserData Property

Definition

An associative collection for storing custom properties associated with the background audio track.

public:
 property IMap<Platform::String ^, Platform::String ^> ^ UserData { IMap<Platform::String ^, Platform::String ^> ^ get(); };
IMap<winrt::hstring, winrt::hstring const&> UserData();
public IDictionary<string,string> UserData { get; }
var iMap = backgroundAudioTrack.userData;
Public ReadOnly Property UserData As IDictionary(Of String, String)

Property Value

IMap<String,String>

IDictionary<String,String>

IMap<Platform::String,Platform::String>

IMap<winrt::hstring,winrt::hstring>

The values stored in the IMap must be strings. These values are app-defined and are not used by the operating system. You can use this collection to store, for example, a description of the background audio track.

Applies to