AlternateView
AlternateView class
Represents the format to view a message.
public class AlternateView : AttachmentBase
Constructors
Properties
Name |
Description |
BaseUri { get; set; } |
Gets or sets the base URI. |
ContentId { get; set; } |
Gets or sets the content id. |
ContentStream { get; set; } |
Gets or sets the content stream. |
ContentType { get; set; } |
Gets or sets the type of the content. |
virtual Headers { get; } |
Gets headers collection of attachment. |
LinkedResources { get; } |
Gets the set of embedded resources referred to by this alternate view. |
TransferEncoding { get; set; } |
Gets or sets the transfer encoding. |
Methods
Name |
Description |
static CreateAlternateViewFromString(string) |
Creates a AlternateView of using the content specified in a string. |
static CreateAlternateViewFromString(string, ContentType) |
Creates a AlternateView of using the content specified in a string. |
static CreateAlternateViewFromString(string, ContentType, TransferEncoding) |
Creates a AlternateView of using the content specified in a string. |
static CreateAlternateViewFromString(string, Encoding, string) |
Creates a AlternateView of using the content specified in a string. |
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
virtual Save(Stream) |
Saves the specified stream. |
virtual Save(string) |
Saves the specified file name. |
See Also