AlternateView Constructor
.NET Framework (current version)
Initializes a new instance of AlternateView.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | AlternateView(Stream) | Initializes a new instance of AlternateView with the specified Stream. |
![]() | AlternateView(Stream, ContentType) | Initializes a new instance of AlternateView with the specified Stream and ContentType. |
![]() | AlternateView(Stream, String) | Initializes a new instance of AlternateView with the specified Stream and media type. |
![]() | AlternateView(String) | Initializes a new instance of AlternateView with the specified file name. |
![]() | AlternateView(String, ContentType) | Initializes a new instance of AlternateView with the specified file name and content type. |
![]() | AlternateView(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.
Show:
