EmailAttachment 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示電子郵件檔附件。
public ref class EmailAttachment : Microsoft::Maui::Storage::FileBase
public class EmailAttachment : Microsoft.Maui.Storage.FileBase
type EmailAttachment = class
inherit FileBase
Public Class EmailAttachment
Inherits FileBase
- 繼承
建構函式
EmailAttachment(FileBase) |
根據 FileBase 物件,初始化 類別的新實例EmailAttachment。 |
EmailAttachment(String, String) |
根據所提供路徑中指定的檔案,並提供明確的MIME檔案類型,初始化 類別的新實例 EmailAttachment 。 |
EmailAttachment(String) |
根據所提供路徑中指定的檔案,初始化 類別的新實例 EmailAttachment 。 |
屬性
ContentType |
取得或設定檔案的內容類型為MIME類型(例如: |
FileName |
取得或設定這個檔案的檔名。 (繼承來源 FileBase) |
FullPath |
取得完整路徑和檔名。 (繼承來源 FileBase) |
方法
OpenReadAsync() |
Stream開啟檔案系統上對應檔案的 。 (繼承來源 FileBase) |