AlternateView Class

Represents the format to view a message.
Inheritance Hierarchy

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGenerateContentId
Generates the content id value.
(Inherited from AttachmentBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(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
Returns a string that represents the current object.
(Inherited from Object.)
See Also