MailDefinition.Subject Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the subject line of the email message.
public:
property System::String ^ Subject { System::String ^ get(); void set(System::String ^ value); };
public string Subject { get; set; }
member this.Subject : string with get, set
Public Property Subject As String
Property Value
The subject line of the email message. The default is Empty.
Examples
The following code example sets the Subject property to the text entered in a TextBox control on a Web Forms page.
This code example is part of a larger example provided for the MailDefinition class.
md.Subject = sourceSubject.Text;
md.Subject = sourceSubject.Text
Remarks
The Subject property is used as the subject line of the email message. It can be left empty.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για