Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

AlternateView Constructor

Namespace: Rebex.Mail
Assembly: Rebex.Mail.dll (version 7.0.9147)

AlternateView()

Initializes a new empty instance of a AlternateView.

Declaration
public AlternateView()

AlternateView(String, String)

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

Declaration
public AlternateView(string fileName, string mediaType)
Parameters
Type Name Description
String fileName

Path to the file to provide data for the view.

String mediaType

A MIME media type of the file.

AlternateView(String)

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

Declaration
public AlternateView(string fileName)
Parameters
Type Name Description
String fileName

Path to the file to provide data for the view.

AlternateView(Stream, String)

Initializes a new instance of a AlternateView with the content of the supplied stream and with a media type.

Declaration
public AlternateView(Stream contentStream, string mediaType)
Parameters
Type Name Description
Stream contentStream

Stream from which the data will be read.

String mediaType

A MIME media type of the file.

AlternateView(Stream)

Initializes a new instance of a AlternateView with the content of the supplied stream.

Declaration
public AlternateView(Stream contentStream)
Parameters
Type Name Description
Stream contentStream

Stream from which the data will be read.

In This Article
  • AlternateView()
  • AlternateView(String, String)
  • AlternateView(String)
  • AlternateView(Stream, String)
  • AlternateView(Stream)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies