MFMessageComposeViewController.AddAttachment MFMessageComposeViewController.AddAttachment Method

Definition

Overloads

AddAttachment(NSUrl, String) AddAttachment(NSUrl, String)
AddAttachment(NSData, String, String) AddAttachment(NSData, String, String)

AddAttachment(NSUrl, String) AddAttachment(NSUrl, String)

[Foundation.Export("addAttachmentURL:withAlternateFilename:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool AddAttachment (Foundation.NSUrl attachmentURL, string alternateFilename);
abstract member AddAttachment : Foundation.NSUrl * string -> bool
override this.AddAttachment : Foundation.NSUrl * string -> bool

Parameters

attachmentURL
NSUrl NSUrl
alternateFilename
String String

To be added.

This parameter can be null.

Returns

AddAttachment(NSData, String, String) AddAttachment(NSData, String, String)

[Foundation.Export("addAttachmentData:typeIdentifier:filename:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool AddAttachment (Foundation.NSData attachmentData, string uti, string filename);
abstract member AddAttachment : Foundation.NSData * string * string -> bool
override this.AddAttachment : Foundation.NSData * string * string -> bool

Parameters

attachmentData
NSData NSData
filename
String String

To be added.

This parameter can be null.

Returns

Applies to