
## LinkedResource class

Represents an embedded resource in a message.

The LinkedResource type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|LinkedResource(file_name)|Initializes a new instance of the LinkedResource class|
|LinkedResource(file_name, media_type)|Initializes a new instance of the LinkedResource class|
|LinkedResource(file_name, content_type)|Initializes a new instance of the LinkedResource class|
|LinkedResource(content_stream)|Initializes a new instance of the LinkedResource class|
|LinkedResource(content_stream, media_type)|Initializes a new instance of the LinkedResource class|
|LinkedResource(content_stream, content_type)|Initializes a new instance of the LinkedResource class|
## Properties
| Name | Description |
| :- | :- |
|content_stream|Gets or sets the content stream.|
|content_id|Gets or sets the content id.|
|headers|Gets headers collection of attachment.|
|content_type|Gets or sets the type of the content.|
|transfer_encoding|Gets or sets the transfer encoding.|
|content_link|Gets or sets a URI that the resource must match.|
|content_disposition|Gets Content-Disposition header|
## Methods
| Name | Description |
| :- | :- |
|save(stream)|  |
|save(file_name)|  |
|create_linked_resource_from_string(content)|  |
|create_linked_resource_from_string(content, content_encoding, media_type)|  |
|create_linked_resource_from_string(content, content_type)|  |

### See Also

* namespace [aspose.email](/email/python-net/aspose.email/)
* assembly [Aspose.Email](/email/python-net/)

