Initializes a new instance of a Attachment
with the content of the supplied byte array and with suggested name.
Namespace:
Rebex.Mail
Assembly:
Rebex.Mail (in Rebex.Mail.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ content As Byte(), _ name As String _ ) |
C# |
---|
public Attachment( byte[] content, string name ) |
Parameters
- content
- Type: array<System..::..Byte>[]()[][]
Byte array from which the data will be read.
- name
- Type: System..::..String
A suggested name of the attachment.