PowerTCP Mail for .NET
Subject Property




Gets or sets the value of the "Subject" header field.
Syntax
Public Property Subject As String
Dim instance As MailMessage
Dim value As String
 
instance.Subject = value
 
value = instance.Subject
public string Subject {get; set;}
public: __property string* get_Subject();
public: __property void set_Subject( 
   string* value
);
public:
property String^ Subject {
   String^ get();
   void set (    String^ value);
}

Property Value

A string representing the header field body following the "Subject: " header field name.
Remarks

This property is a convenient alternative to referencing Header[HeaderKey.Subject].Value.

See Also

Reference

MailMessage Class
MailMessage Members


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic