| Visual Basic (Declaration) | |
|---|---|
Public ReadOnly Property Tag As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As ImapResponse Dim value As String value = instance.Tag | |
| C# | |
|---|---|
public string Tag {get;} | |
| Managed Extensions for C++ | |
|---|---|
public: __property string* get_Tag(); | |
Property Value
A string representation of the tag used to identify the response.This property returns the unique identifier found on tagged responses to commands. This unique identifier is actually generated by the Imap component when sending a command. The IMAP server will return this identifier with the response associated with the original client command.
For example, if the following line was received from the IMAP server,
A2 OK CAPABILITY completed
the ImapResponse.Tag property would contain "A2", which was also the tag used when the client sent the original "CAPABILITY" command.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code