AlternateView Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of AlternateView.

Namespace:   System.Net.Mail
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodAlternateView(Stream)

Initializes a new instance of AlternateView with the specified Stream.

System_CAPS_pubmethodAlternateView(Stream, ContentType)

Initializes a new instance of AlternateView with the specified Stream and ContentType.

System_CAPS_pubmethodAlternateView(Stream, String)

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

System_CAPS_pubmethodAlternateView(String)

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

System_CAPS_pubmethodAlternateView(String, ContentType)

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

System_CAPS_pubmethodAlternateView(String, String)

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

A new instance of the AlternateView class call also be initialized by calling one of the CreateAlternateViewFromString methods.

Return to top
Show: