MFMessageComposeViewController.AddAttachment Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
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
Parâmetros
- attachmentURL
- NSUrl
Retornos
- Atributos
Aplica-se a
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
Parâmetros
- attachmentData
- NSData
- uti
- String
Retornos
- Atributos