LinkedResource.CreateLinkedResourceFromString
Contents
[
Hide
]CreateLinkedResourceFromString(string)
Creates a linked resource from a string.
public static LinkedResource CreateLinkedResourceFromString(string content)
| Parameter | Type | Description |
|---|---|---|
| content | String | The content of the resource. |
Return Value
The new linked resource.
See Also
- class LinkedResource
- namespace Aspose.Email
- assembly Aspose.Email
CreateLinkedResourceFromString(string, Encoding, string)
Creates a linked resource from a string.
public static LinkedResource CreateLinkedResourceFromString(string content,
Encoding contentEncoding, string mediaType)
| Parameter | Type | Description |
|---|---|---|
| content | String | The content of the resource. |
| contentEncoding | Encoding | The character encoding of the content. |
| mediaType | String | The MIME media type of the content. |
Return Value
The new linked resource.
See Also
- class LinkedResource
- namespace Aspose.Email
- assembly Aspose.Email
CreateLinkedResourceFromString(string, ContentType)
Creates a linked resource from a string.
public static LinkedResource CreateLinkedResourceFromString(string content, ContentType contentType)
| Parameter | Type | Description |
|---|---|---|
| content | String | The content of the resource. |
| contentType | ContentType | The content type of the resource. |
Return Value
The new linked resource.
See Also
- class ContentType
- class LinkedResource
- namespace Aspose.Email
- assembly Aspose.Email