Initializes a new instance of a LinkedResource with the content of the supplied stream and with a media type and suggested name.

Namespace:  Rebex.Mail
Assembly:  Rebex.Mail (in Rebex.Mail.dll)

Syntax

Visual Basic
Public Sub New ( _
	contentStream As Stream, _
	name As String, _
	mediaType As String _
)
C#
public LinkedResource(
	Stream contentStream,
	string name,
	string mediaType
)

Parameters

contentStream
Type: System.IO..::..Stream
Stream from which the data will be read.
name
Type: System..::..String
A suggested name of the resource.
mediaType
Type: System..::..String
A MIME media type of the file.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also