Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.