C# Class InTheHand.ApplicationModel.Email.EmailAttachment

Represents an email attachment.
PlatformVersion supported iOSiOS 9.0 and later Windows UWPWindows 10 Windows StoreWindows 8.1 or later Windows Phone StoreWindows Phone 8.1 or later
显示文件 Open project: inthehand/Charming

Public Methods

Method Description
EmailAttachment ( string filename, StorageFile data ) : InTheHand.Storage

Creates an instance of the EmailAttachment class with the specified data.

EmailAttachment ( string filename, StorageFile data, string mimeType ) : InTheHand.Storage

Initializes a new instance of the see cref="EmailAttachment"/> class.

Method Details

EmailAttachment() public method

Creates an instance of the EmailAttachment class with the specified data.
public EmailAttachment ( string filename, StorageFile data ) : InTheHand.Storage
filename string The filename of the attachment.
data InTheHand.Storage.StorageFile The stream to use to download the attachment.
return InTheHand.Storage

EmailAttachment() public method

Initializes a new instance of the see cref="EmailAttachment"/> class.
public EmailAttachment ( string filename, StorageFile data, string mimeType ) : InTheHand.Storage
filename string The filename of the attachment.
data InTheHand.Storage.StorageFile The stream to use to download the attachment.
mimeType string The MIME type of the attachment.
return InTheHand.Storage