Share via


EmailAttachment Konstruktoren

Definition

Überlädt

EmailAttachment(String)

Email Anlage vom Dateinamen aus.

EmailAttachment(FileBase)

Email Anlage aus einer vorhandenen Datei.

EmailAttachment(String, String)

Expliziter Inhaltstyp (MIME-Typ) der Datei.

EmailAttachment(String)

Email Anlage vom Dateinamen aus.

public EmailAttachment (string fullPath);

Parameter

fullPath
System.String

Vollständiger Pfad und Dateiname zur Datei.

Gilt für:

EmailAttachment(FileBase)

Email Anlage aus einer vorhandenen Datei.

public EmailAttachment (Xamarin.Essentials.FileBase file);

Parameter

file
FileBase

Vorhandene Datei.

Gilt für:

EmailAttachment(String, String)

Expliziter Inhaltstyp (MIME-Typ) der Datei.

public EmailAttachment (string fullPath, string contentType);

Parameter

fullPath
System.String

Vollständiger Pfad und Dateiname zur Datei.

contentType
System.String

Inhaltstyp (MIME-Typ) der Datei (z. B. ). image/png

Gilt für: