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




Gets or sets a value which determines if the message is a draft.

Syntax

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

Property Value

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

Remarks

Returns true if the current message has an incomplete composition (server-side flag \Draft). This property is controlled by the developer, not the server (ie. the server does not decide when composition is complete).

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.