SmtpClient.Tag Property


Gets or sets an object that contains data to associate with the SmtpClient.

[Visual Basic]
Public Property Tag As Object
[C#]
public object Tag {get; set;}
[C++]
public: __property Object^ get_Tag();
public: __property void set_Tag(Object^);
[JScript]
public function get Tag() : Object;
public function set Tag(Object);

Property Value

A System.Object associated with the current SmtpClient instance.