EmailAttachment コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
EmailAttachment(String) |
ファイル名から添付ファイルをEmailします。 |
EmailAttachment(FileBase) |
既存のファイルから添付ファイルをEmailします。 |
EmailAttachment(String, String) |
ファイルの明示的なコンテンツ タイプ (MIME タイプ)。 |
EmailAttachment(String)
ファイル名から添付ファイルをEmailします。
public EmailAttachment (string fullPath);
パラメーター
- fullPath
- System.String
ファイルへの完全なパスとファイル名。
適用対象
EmailAttachment(FileBase)
既存のファイルから添付ファイルをEmailします。
public EmailAttachment (Xamarin.Essentials.FileBase file);
パラメーター
- file
- FileBase
既存のファイル。
適用対象
EmailAttachment(String, String)
ファイルの明示的なコンテンツ タイプ (MIME タイプ)。
public EmailAttachment (string fullPath, string contentType);
パラメーター
- fullPath
- System.String
ファイルへの完全なパスとファイル名。
- contentType
- System.String
ファイルのコンテンツ タイプ (MIME タイプ) (例: image/png
)。