This documentation is archived and is not being maintained.
MailMessage.Subject Property
.NET Framework 1.1
Gets or sets the subject line of the e-mail message.
[Visual Basic] Public Property Subject As String [C#] public string Subject {get; set;} [C++] public: __property String* get_Subject(); public: __property void set_Subject(String*); [JScript] public function get Subject() : String; public function set Subject(String);
Property Value
The subject line of the e-mail message.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
MailMessage Class | MailMessage Members | System.Web.Mail Namespace
Show: