MessageList Event
Fired for every message listed by ListMessageSizes and/or ListMessageUIDs .
Syntax
public event OnMessageListHandler OnMessageList; public delegate void OnMessageListHandler(object sender, PopMessageListEventArgs e); public class PopMessageListEventArgs : EventArgs { public int MessageNumber { get; } public string MessageUID { get; } public int MessageSize { get; } }
Public Event OnMessageList As OnMessageListHandler Public Delegate Sub OnMessageListHandler(sender As Object, e As PopMessageListEventArgs) Public Class PopMessageListEventArgs Inherits EventArgs Public ReadOnly Property MessageNumber As Integer Public ReadOnly Property MessageUID As String Public ReadOnly Property MessageSize As Integer End Class
Remarks
When ListMessageSizes is called, MessageSize is valid, and MessageUID is always an empty string.
When ListMessageUIDs is called, MessageUID is valid, and MessageSize is 0.