Attachment Constructor (String, Stream)

Independentsoft MSG .NET

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

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

Syntax

public Attachment(
	string fileName,
	Stream stream
)
public Attachment(
	string fileName,
	Stream stream
)
Public Sub New ( 
	fileName As String,
	stream As Stream
)
Public Sub New ( 
	fileName As String,
	stream As Stream
)
Dim fileName As String 
Dim stream As Stream 

Dim instance As New Attachment(fileName, 
	stream)
Dim fileName As String 
Dim stream As Stream 

Dim instance As New Attachment(fileName, 
	stream)
public Attachment(
	String fileName,
	Stream stream
)
public Attachment(
	String fileName,
	Stream stream
)
public function Attachment(
	fileName : String, 
	stream : Stream
)
public function Attachment(
	fileName : String, 
	stream : Stream
)
Independentsoft.Msg.Attachment = function(fileName, stream);
Independentsoft.Msg.Attachment = function(fileName, stream);

Parameters

fileName
Type: OnlineSystem String
Attachment file name.
stream
Type: OnlineSystem.IO Stream
A stream.
See Also