Gets or sets a user-defined data object that is associated with this object
Supported in Silverlight, Windows Phone 7
Syntax
Visual Basic (Declaration) | |
---|
Public Property Tag As Object |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As AnnObject
Dim value As Object
instance.Tag = value
value = instance.Tag |
C# | |
---|
public object Tag {get; set;} |
Property Value
The user-defined data. Default value is null (
Nothing in Visual Basic).
Requirements
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)
See Also