EmailAttachment 類別

定義

Email 檔案附件。

public class EmailAttachment : Xamarin.Essentials.FileBase
繼承
System.Object
EmailAttachment

建構函式

EmailAttachment(FileBase)

從現有檔案 Email 附件。

EmailAttachment(String)

從檔名 Email 附件。

EmailAttachment(String, String)

明確內容類型 (MIME類型) 檔案。

屬性

ContentType

取得或設定檔案的內容類型為MIME類型 (,例如: image/png) 。

(繼承來源 FileBase)
FileName

Email 檔案附件。

(繼承來源 FileBase)
FullPath

此屬性純有資訊,而且不一定會傳回檔案的實際實體路徑。 若要取得檔案,請使用 OpenReadAsync 方法。

(繼承來源 FileBase)

方法

OpenReadAsync()

Email 檔案附件。

(繼承來源 FileBase)

適用於