| Visual Basic (Declaration) | |
|---|---|
<DefaultValueAttribute()> <CategoryAttribute("Behavior")> Public Property AutoPurge As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Imap Dim value As Boolean instance.AutoPurge = value value = instance.AutoPurge | |
| C# | |
|---|---|
[DefaultValueAttribute()] [CategoryAttribute("Behavior")] public bool AutoPurge {get; set;} | |
| Managed Extensions for C++ | |
|---|---|
[DefaultValueAttribute()] [CategoryAttribute("Behavior")] public: __property bool get_AutoPurge(); public: __property void set_AutoPurge( bool value ); | |
| C++/CLI | |
|---|---|
[DefaultValueAttribute()] [CategoryAttribute("Behavior")] public: property bool AutoPurge { bool get(); void set ( bool value); } | |
Property Value
true if you desire all deleted messages to be purged; false otherwise. The default value is false.The Imap.AutoPurge property, when set to true, causes the component to automatically send an EXPUNGE command whenever commands cause a change in the current mailbox. This will cause all messages with ImapMessage.Delete = true to be deleted from the server.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code