Initializes a new instance of a AlternateView with the content of the specified file and with media type.

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

Syntax

C#
public AlternateView(
	string fileName,
	string mediaType
)
Visual Basic (Declaration)
Public Sub New ( _
	fileName As String, _
	mediaType As String _
)
Visual C++
public:
AlternateView(
	String^ fileName, 
	String^ mediaType
)

Parameters

fileName
Type: System..::.String
Path to the file to provide data for the view.
mediaType
Type: System..::.String
A MIME media type of the file.

See Also