Visual Basic (Declaration) | |
---|---|
Property Tag As Object |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ILiveControl Dim value As Object instance.Tag = value value = instance.Tag |
C# | |
---|---|
object Tag {get; set;} |
Property Value
An object that implements the IConvertible interface and contains data about the PowerWEB control. The default is a null reference (Nothing in Visual Basic).Any type that implements IConvertible can be assigned to this property. If the Tag property is set through the Windows Forms designer, only text can be assigned.
Data contained within the Tag property persists across callbacks. A common use for the Tag property is to store data that is closely associated with the control.
Target Platforms: Microsoft .NET Framework 2.0