AudioTrack.Tag Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

Syntax

Public Property Tag As String
public string Tag { get; set; }
<object Tag="string" .../>

Property Value

Type: System..::.String
Returns String.

Exceptions

Exception Condition
InvalidOperationException

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

AudioTrack Class

Microsoft.Phone.BackgroundAudio Namespace