AlternateView Class

Represents the format to view a message.
Inheritance Hierarchy

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.6
Syntax
public class AlternateView : AttachmentBase

The AlternateView type exposes the following members.

Constructors
  NameDescription
Public methodAlternateView(Stream)
Initializes a new instance of the AlternateView class.
Public methodAlternateView(String)
Initializes a new instance of the AlternateView class.
Public methodAlternateView(Stream, ContentType)
Initializes a new instance of the AlternateView class.
Public methodAlternateView(Stream, String)
Initializes a new instance of the AlternateView class.
Public methodAlternateView(String, ContentType)
Initializes a new instance of the AlternateView class.
Public methodAlternateView(String, String)
Initializes a new instance of the AlternateView class.
Properties
  NameDescription
Public propertyBaseUri
Gets or sets the base URI.
Public propertyContentId
Gets or sets the content id.
(Inherited from AttachmentBase.)
Public propertyContentStream
Gets or sets the content stream.
(Inherited from AttachmentBase.)
Public propertyContentType
Gets or sets the type of the content.
(Inherited from AttachmentBase.)
Public propertyHeaders
Gets headers collection of attachment.
(Inherited from AttachmentBase.)
Public propertyLinkedResources
Gets the set of embedded resources referred to by this alternate view.
Public propertyTransferEncoding
Gets or sets the transfer encoding.
(Inherited from AttachmentBase.)
Methods
  NameDescription
Public methodStatic memberCreateAlternateViewFromString(String)
Creates a AlternateView of using the content specified in a string.
Public methodStatic memberCreateAlternateViewFromString(String, ContentType)
Creates a AlternateView of using the content specified in a string.
Public methodStatic memberCreateAlternateViewFromString(String, ContentType, TransferEncoding)
Creates a AlternateView of using the content specified in a string.
Public methodStatic memberCreateAlternateViewFromString(String, Encoding, String)
Creates a AlternateView of using the content specified in a string.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from AttachmentBase.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Overrides AttachmentBaseDispose(Boolean).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Protected methodGenerateContentId
Generates the content id value.
(Inherited from AttachmentBase.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSave(Stream)
Saves the specified stream.
(Inherited from AttachmentBase.)
Public methodSave(String)
Saves the specified file name.
(Inherited from AttachmentBase.)
Public methodToString (Inherited from Object.)
See Also