
## CreateLinkedResourceFromString (1 of 3) {#createlinkedresourcefromstring_1}

Creates the linked resource from string.

**Returns:** A LinkedResource object that contains the embedded resource.

```cpp
CreateLinkedResourceFromString(System::String content)
```

| Parameter | Description |
| --- | --- |
| content | A string that contains the resource to be included in the email attachment. |

---

## CreateLinkedResourceFromString (2 of 3) {#createlinkedresourcefromstring_2}

Creates the linked resource from string.

**Returns:** A LinkedResource object that contains the embedded resource.

```cpp
CreateLinkedResourceFromString(System::String content, System::SharedPtr < Aspose::Email::Mime::ContentType > contentType)
```

| Parameter | Description |
| --- | --- |
| content | A string that contains the resource to be included in the email attachment. |
| contentType | The type of the content. |

---

## CreateLinkedResourceFromString (3 of 3) {#createlinkedresourcefromstring_3}

Creates the linked resource from string.

**Returns:** A LinkedResource object that contains the embedded resource.

```cpp
CreateLinkedResourceFromString(System::String content, System::SharedPtr < System::Text::Encoding > contentEncoding, System::String mediaType)
```

| Parameter | Description |
| --- | --- |
| content | A string that contains the resource to be included in the email attachment. |
| contentEncoding | The content encoding. |
| mediaType | The MIME media type of the content. |

