Attachment Constructor (String, Byte[])

Independentsoft MSG .NET

Attachment Constructor (String,  Byte ) MSG .NET Class Library
Initializes a new instance of the Attachment class based on the supplied byte array.

Namespace: Independentsoft.Msg
Assembly: Independentsoft.Msg (in Independentsoft.Msg.dll) Version: 2.0.140.29868

Syntax

public Attachment(
	string fileName,
	byte[] buffer
)
public Attachment(
	string fileName,
	byte[] buffer
)
Public Sub New ( 
	fileName As String,
	buffer As Byte()
)
Public Sub New ( 
	fileName As String,
	buffer As Byte()
)
Dim fileName As String 
Dim buffer As Byte()

Dim instance As New Attachment(fileName, 
	buffer)
Dim fileName As String 
Dim buffer As Byte()

Dim instance As New Attachment(fileName, 
	buffer)
public Attachment(
	String fileName,
	byte[] buffer
)
public Attachment(
	String fileName,
	byte[] buffer
)
public function Attachment(
	fileName : String, 
	buffer : byte[]
)
public function Attachment(
	fileName : String, 
	buffer : byte[]
)
Independentsoft.Msg.Attachment = function(fileName, buffer);
Independentsoft.Msg.Attachment = function(fileName, buffer);

Parameters

fileName
Type: OnlineSystem String
Attachment file name.
buffer
Type:  OnlineSystem Byte 
A byte array.
See Also