Edit

Share via


MSConversation.InsertAttachmentAsync(NSUrl, String) Method

Definition

Inserts the media in the file url, describing it in the message as filename. The system calls completionHandler after the attachment attempt is made.

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

Parameters

url
NSUrl

Must be a file URL.

filename
String

To be added.This parameter can be .

Returns

A task that represents the asynchronous InsertAttachment operation

Applies to