次の方法で共有


MSConversation.InsertAttachmentAsync(NSUrl, String) メソッド

定義

メディアを ファイル urlに挿入し、メッセージ内の メディアを として filename記述します。 添付ファイルの試行が行われた後、システムは を呼び出します completionHandler

public virtual System.Threading.Tasks.Task InsertAttachmentAsync (Foundation.NSUrl url, string filename);
abstract member InsertAttachmentAsync : Foundation.NSUrl * string -> System.Threading.Tasks.Task
override this.InsertAttachmentAsync : Foundation.NSUrl * string -> System.Threading.Tasks.Task

パラメーター

url
NSUrl

ファイル URL である必要があります。

filename
String

追加する。このパラメーターには を指定できます。

戻り値

非同期の InsertAttachment 操作を表すタスク

適用対象