Sdílet prostřednictvím


EmailAttachment Constructors

Definition

Overloads

EmailAttachment(String)

Email attachment from filename.

EmailAttachment(FileBase)

Email attachment from existing file.

EmailAttachment(String, String)

Explicit content type (MIME type) of file.

EmailAttachment(String)

Email attachment from filename.

public EmailAttachment (string fullPath);

Parameters

fullPath
System.String

Full path and filename to file.

Applies to

EmailAttachment(FileBase)

Email attachment from existing file.

public EmailAttachment (Xamarin.Essentials.FileBase file);

Parameters

file
FileBase

Existing file.

Applies to

EmailAttachment(String, String)

Explicit content type (MIME type) of file.

public EmailAttachment (string fullPath, string contentType);

Parameters

fullPath
System.String

Full path and filename to file.

contentType
System.String

Content type (MIME type) of the file (eg: image/png).

Applies to