次の方法で共有


EmailAttachment コンストラクター

定義

オーバーロード

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)。

適用対象