Export (0) Print
Expand All

AlternateView Constructor

Initializes a new instance of AlternateView.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method AlternateView(Stream) Initializes a new instance of AlternateView with the specified Stream.
Public method AlternateView(String) Initializes a new instance of AlternateView with the specified file name.
Public method AlternateView(Stream, ContentType) Initializes a new instance of AlternateView with the specified Stream and ContentType.
Public method AlternateView(Stream, String) Initializes a new instance of AlternateView with the specified Stream and media type.
Public method AlternateView(String, ContentType) Initializes a new instance of AlternateView with the specified file name and content type.
Public method AlternateView(String, String) Initializes a new instance of AlternateView with the specified file name and media type.
Top

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

Show:
© 2014 Microsoft