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




Gets a value indicating if the message has been marked for deletion.

Syntax

Visual Basic (Declaration) 
Public Overridable Property Delete As Boolean
Visual Basic (Usage)Copy Code
Dim instance As MessageBase
Dim value As Boolean
 
instance.Delete = value
 
value = instance.Delete
C# 
public virtual bool Delete {get; set;}
Managed Extensions for C++ 
public: __property virtual bool get_Delete();
public: __property virtual void set_Delete( 
   bool value
);
C++/CLI 
public:
virtual property bool Delete {
   bool get();
   void set (    bool value);
}

Property Value

true if the message has been marked for deletion, false otherwise; The default value is false;

Remarks

Set this property to mark a message for deletion. How the message is deleted is dependent on the protocol. If using the Pop component, all messages will be deleted upon logout. If using the Imap component, all messages will be deleted when Mailbox.Refresh is called, if Imap.AutoPurge is false and automatically with any change in the mailbox when Imap.AutoPurge is true.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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