Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

AlternateView Class

Namespace: Rebex.Mail
Assembly: Rebex.Mail.dll

Represents a single alternate form of an e-mail message body.

Syntax
public class AlternateView : AttachmentBase
Inheritance
Object
AttachmentBase
AlternateView
Inherited Members
AttachmentBase.ContentDescription
AttachmentBase.ContentDisposition
AttachmentBase.ContentId
AttachmentBase.ContentLocation
AttachmentBase.ContentString
AttachmentBase.ContentType
AttachmentBase.GetContentLength()
AttachmentBase.GetContentStream()
AttachmentBase.GetContentStream(Boolean)
AttachmentBase.Charset
AttachmentBase.MediaType
AttachmentBase.Options
AttachmentBase.Save(Stream)
AttachmentBase.Save(String)
AttachmentBase.SetContent(String)
AttachmentBase.SetContent(String, String)
AttachmentBase.SetContent(String, String, Encoding)
AttachmentBase.SetContent(String, String, Encoding, TransferEncoding)
AttachmentBase.ToMimeEntity()
AttachmentBase.TransferEncoding
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Constructors

Name Description
AlternateView()

Initializes a new empty instance of a AlternateView.

AlternateView(Stream)

Initializes a new instance of a AlternateView with the content of the supplied stream.

AlternateView(Stream, String)

Initializes a new instance of a AlternateView with the content of the supplied stream and with a media type.

AlternateView(String)

Initializes a new instance of a AlternateView with the content of the specified file.

AlternateView(String, String)

Initializes a new instance of a AlternateView with the content of the specified file and with media type.

Properties

Name Description
ContentDescription

Gets or sets the content description of this attachment. Inherited from AttachmentBase.

ContentDisposition

Gets the content disposition of this attachment. Inherited from AttachmentBase.

ContentId

Gets or sets the content ID of this attachment. Inherited from AttachmentBase.

ContentLocation

Gets or sets the absolute or relative URI of this message part. Inherited from AttachmentBase.

ContentString

Gets the content string of this attachment. Inherited from AttachmentBase.

ContentType

Gets the content type of this attachment. Inherited from AttachmentBase.

Charset

Gets the charset (Encoding) of the content of this attachment. Inherited from AttachmentBase.

MediaType

Gets the media type of this attachment. Inherited from AttachmentBase.

Options

Gets or sets verious options for MIME parser and writer. Inherited from AttachmentBase.

TransferEncoding

Gets or sets the TransferEncoding of the content of this attachment. Inherited from AttachmentBase.

Methods

Name Description
GetContentLength()

Gets the length of the attachment. Inherited from AttachmentBase.

GetContentStream()

Returns the read-only stream representing a content of this attachment. Inherited from AttachmentBase.

GetContentStream(Boolean)

Returns the stream representing a content of this attachment. Inherited from AttachmentBase.

Save(Stream)

Writes the content of the attachment into the supplied stream. Inherited from AttachmentBase.

Save(String)

Writes the content of the attachment or view into a supplied file. Inherited from AttachmentBase.

SetContent(Stream)

Sets the content of this view to data read from the specified stream.

SetContent(Stream, String)

Sets the content of this view to data read from the specified stream and sets media type.

SetContent(String)

Sets the content of this attachment to the specified text. Inherited from AttachmentBase.

SetContent(String, String)

Sets the content of this attachment to the specified text and media type. Inherited from AttachmentBase.

SetContent(String, String, Encoding)

Sets the content of this attachment to the specified text, media type and character set. Inherited from AttachmentBase.

SetContent(String, String, Encoding, TransferEncoding)

Sets the content of this attachment to the specified text, media type and character set. Inherited from AttachmentBase.

SetContentFromFile(String)

Sets the content of this view to data read from the specified file.

SetContentFromFile(String, String)

Sets the content of this view to data read from the specified file and sets media type.

ToMimeEntity()

Converts this instance to a MimeEntity. Inherited from AttachmentBase.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies