MSConversation.InsertAttachmentAsync(NSUrl, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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