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




Gets or sets a value which determines if the message has been answered.

Syntax

Visual Basic (Declaration) 
Public Property Answered As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ImapMessage
Dim value As Boolean
 
instance.Answered = value
 
value = instance.Answered
C# 
public bool Answered {get; set;}
Managed Extensions for C++ 
public: __property bool get_Answered();
public: __property void set_Answered( 
   bool value
);
C++/CLI 
public:
property bool Answered {
   bool get();
   void set (    bool value);
}

Property Value

If the message's Answered flag is set, this property returns true; otherwise false.

Remarks

Returns true if the current message has been answered (server-side flag \Answered). This property is controlled by the developer, not the server (ie. the server does not decide when a message has been answered).

When setting this property the Imap component will send a STORE command to the server to update the flags of the message.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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