MailMessage.Headers 属性

定义

指定随电子邮件一起传输的自定义标头。Specifies the custom headers that are transmitted with the email message. 建议使用的替代项:System.Net.MailRecommended alternative: System.Net.Mail.

public:
 property System::Collections::IDictionary ^ Headers { System::Collections::IDictionary ^ get(); };
public System.Collections.IDictionary Headers { get; }
member this.Headers : System.Collections.IDictionary
Public ReadOnly Property Headers As IDictionary

属性值

IDictionary

自定义标头的 IDictionary 集合。An IDictionary collection of custom headers.

适用于