Windows Dev Center

AudioTrack.Tag Property

An arbitrary string associated with this track, used to store application-specific state.

Namespace:  Microsoft.Phone.BackgroundAudio
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

public string Tag { get; set; }
<object Tag="string" .../>

Property Value

Type: System.String
Returns String.

ExceptionCondition
InvalidOperationException

The value was set, but the object is not in edit mode.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2015 Microsoft