Share via


EmailAttachment Class

Definition

Email file attachment.

public class EmailAttachment : Xamarin.Essentials.FileBase
Inheritance
System.Object
EmailAttachment

Constructors

EmailAttachment(FileBase)

Email attachment from existing file.

EmailAttachment(String, String)

Explicit content type (MIME type) of file.

EmailAttachment(String)

Email attachment from filename.

Properties

ContentType

Gets or sets the file's content type as a MIME type (eg: image/png).

(Inherited from FileBase)
FileName (Inherited from FileBase)
FullPath

This property is purely informative, and does not always return the actual physical path to the file. To get the file, use OpenReadAsync method.

(Inherited from FileBase)

Methods

OpenReadAsync() (Inherited from FileBase)

Applies to