Freigeben über


MFMessageComposeViewController.AddAttachment Methode

Definition

Überlädt

AddAttachment(NSUrl, String)
AddAttachment(NSData, String, 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

Parameter

attachmentURL
NSUrl
alternateFilename
String

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

Gibt zurück

Attribute

Gilt für:

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

Parameter

attachmentData
NSData
uti
String
filename
String

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

Gibt zurück

Attribute

Gilt für: