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