Die Methode `ToString` in C# ist ein Mitglied der Klasse `System.Net.Mail.MailAddress`. Diese Methode gibt eine Zeichenfolge zurück, die die Email-Adresse darstellt. Sie wird verwendet, um die Mailadresse in einem lesbaren Format darzustellen, beispielsweise für die Ausgabe oder das Logging. Die Rückgabewert ist eine Zeichenfolge im Format "Anzeigename ". Wenn kein Anzeigename angegeben wurde, wird nur die Email-Adresse zurückgegeben.
C# (CSharp) System.Net.Mail MailAddress.ToString - 36 Beispiele gefunden. Dies sind die am besten bewerteten C# (CSharp) Beispiele für die System.Net.Mail.MailAddress.ToString, die aus Open Source-Projekten extrahiert wurden. Sie können Beispiele bewerten, um die Qualität der Beispiele zu verbessern.