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.
Asynchronously inserts the media in the file url, describing it in the message as filename.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task InsertAttachmentAsync(Foundation.NSUrl url, string? filename);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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
Returns
A task that represents the asynchronous InsertAttachment operation
- Attributes