Gets or sets an object reference that can be used to associate this instance with any other. Gets or sets an object reference that can be used to associate this instance with any other.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property Tag As Object |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As Mailbox
Dim value As Object
instance.Tag = value
value = instance.Tag |
| C# | |
|---|
public object Tag {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property Object* get_Tag();
public: __property void set_Tag(
Object* value
); |
Property Value
Any object that is associated with the component; null if no objects are associated with the component. Any object that is associated with the object,
null if no objects are associated with the object
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also