Edit

Share via


MSConversation.InsertAttachment(NSUrl, String, Action<NSError>) 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.

[Foundation.Export("insertAttachment:withAlternateFilename:completionHandler:")]
public virtual void InsertAttachment (Foundation.NSUrl url, string filename, Action<Foundation.NSError> completionHandler);
abstract member InsertAttachment : Foundation.NSUrl * string * Action<Foundation.NSError> -> unit
override this.InsertAttachment : Foundation.NSUrl * string * Action<Foundation.NSError> -> unit

Parameters

url
NSUrl

Must be a file URL.

filename
String

To be added.

This parameter can be null.

completionHandler
Action<NSError>

To be added.

This parameter can be null.

Attributes

Applies to