共用方式為


MailMessage.Headers 屬性

定義

指定會與電子郵件訊息一起傳送的自訂標頭。 建議的替代做法: 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 集合。

適用於