MailMessage.Priority 属性

定义

获取或设置电子邮件的优先级。 建议使用的替代项:System.Net.Mail

public:
 property System::Web::Mail::MailPriority Priority { System::Web::Mail::MailPriority get(); void set(System::Web::Mail::MailPriority value); };
public System.Web.Mail.MailPriority Priority { get; set; }
member this.Priority : System.Web.Mail.MailPriority with get, set
Public Property Priority As MailPriority

属性值

MailPriority

MailPriority 值之一。

示例

MailMessage MyMessage = new MailMessage();
MyMessage.Priority = MailPriority.Low;
Dim  MyMessage As MailMessage = New MailMessage()
MyMessage.Priority = MailPriority.Low

适用于