Constructs a new
CopyC#
Attachment
instance.

Namespace: Jscape.Email
Assembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0

Syntax

C#
public Attachment(
	byte[] data
)
Visual Basic
Public Sub New ( _
	data As Byte() _
)
Visual C++
public:
Attachment(
	array<unsigned char>^ data
)

Parameters

data
Type: array<System..::..Byte>[]()[][]
The body byte[] data for attachment.

Examples

To construct an attachment, create an instance and provide the required data.
CopyMime Attachment
Attachment att = new Attachment(data);

CopyMime Attachment
Attachment att = new Attachment(data)

See Also