PowerTCP Mail for .NET
Tag Property
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > Imap Class : Tag Property




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) 
<BrowsableAttribute(False)>
Public Property Tag As Object
Visual Basic (Usage)Copy Code
Dim instance As Imap
Dim value As Object
 
instance.Tag = value
 
value = instance.Tag
C# 
[BrowsableAttribute(false)]
public object Tag {get; set;}
Managed Extensions for C++ 
[BrowsableAttribute(false)]
public: __property Object* get_Tag();
public: __property void set_Tag( 
   Object* value
);
C++/CLI 
[BrowsableAttribute(false)]
public:
property Object^ Tag {
   Object^ get();
   void set (    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

Use this property to associate any type derived from Object class with the component. A common use for the Tag property is to store data that is closely associated with the component.

Use this property to associate any object with the object.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.