LinkedResource Class

Represents an embedded resource in a message.
Inheritance Hierarchy

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public class LinkedResource : AttachmentBase

The LinkedResource type exposes the following members.

Constructors
  NameDescription
Public methodLinkedResource(Stream)
Initializes a new instance of the LinkedResource class.
Public methodLinkedResource(String)
Initializes a new instance of the LinkedResource class.
Public methodLinkedResource(Stream, ContentType)
Initializes a new instance of the LinkedResource class.
Public methodLinkedResource(Stream, String)
Initializes a new instance of the LinkedResource class.
Public methodLinkedResource(String, ContentType)
Initializes a new instance of the LinkedResource class.
Public methodLinkedResource(String, String)
Initializes a new instance of the LinkedResource class.
Properties
  NameDescription
Public propertyContentDisposition
Gets Content-Disposition header
Public propertyContentId
Gets or sets the content id.
(Inherited from AttachmentBase.)
Public propertyContentLink
Gets or sets a URI that the resource must match.
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 propertyTransferEncoding
Gets or sets the transfer encoding.
(Inherited from AttachmentBase.)
Methods
  NameDescription
Public methodStatic memberCreateLinkedResourceFromString(String)
Creates the linked resource from string.
Public methodStatic memberCreateLinkedResourceFromString(String, ContentType)
Creates the linked resource from string.
Public methodStatic memberCreateLinkedResourceFromString(String, Encoding, String)
Creates the linked resource from 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.
(Inherited from AttachmentBase.)
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.)
Protected methodSetContentFromString
Sets the content from string.
(Inherited from AttachmentBase.)
Public methodToString (Inherited from Object.)
See Also