Class ReferenceAttachment

ReferenceAttachment class

This class represents a reference attachment

public class ReferenceAttachment : Attachment

Constructors

NameDescription
ReferenceAttachment()Initializes a new instance of ReferenceAttachment.
ReferenceAttachment(string)Initializes a new instance of ReferenceAttachment.
ReferenceAttachment(Uri)Initializes a new instance of ReferenceAttachment.

Properties

NameDescription
ContentDisposition { get; }Gets Content-Disposition header
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.
IsEmbeddedMessage { get; }Gets a value indicating whether the attachment is an embedded message.
IsTnef { get; }Gets a value indicating whether the attachment is TNEF formatted message.
IsUri { get; }Gets a value indicating whether attachment is URI-attachment.
Name { get; set; }Gets or sets an attachment name
NameEncoding { get; set; }Gets or sets an encoding of attachment name
PermissionType { get; set; }Specifies the permission type.
PreferredTextEncoding { get; set; }Gets or sets a preferred text encoding
ProviderType { get; set; }Specifies the provider type.
TransferEncoding { get; set; }Gets or sets the transfer encoding.
Uri { get; set; }Specifies the Url of the provider endpoint.

Methods

NameDescription
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