Dart.Mail Namespace > ImapMessage Class : Update Method |
Public Function Update( _ ByVal set As Boolean, _ ByVal flags As ImapFlags _ ) As ImapResponse
Dim instance As ImapMessage Dim set As Boolean Dim flags As ImapFlags Dim value As ImapResponse value = instance.Update(set, flags)
public ImapResponse Update( bool set, ImapFlags flags )
public: ImapResponse* Update( bool set, ImapFlags flags )
public: ImapResponse^ Update( bool set, ImapFlags flags )
/// <summary> /// Sets the delete flag for the specified email. Email will be deleted by calling /// Mailbox.Purge(), or upon logout. /// </summary> /// <param name="message">Message to set the delete flag for.</param> public void DeleteMessage(ImapMessage message) { message.Update(true, ImapFlags.Deleted); }
''' <summary> ''' Sets the delete flag for the specified email. Email will be deleted by calling ''' Mailbox.Purge(), or upon logout. ''' </summary> ''' <param name="message">Message to set the delete flag for.</param> Public Sub DeleteMessage(ByVal message As ImapMessage) message.Update(True, ImapFlags.Deleted) End Sub