LinkedResource.CreateLinkedResourceFromString
Contents
[
Hide
]CreateLinkedResourceFromString(string)
Creates the linked resource from string.
public static LinkedResource CreateLinkedResourceFromString(string content)
Parameter | Type | Description |
---|---|---|
content | String | A string that contains the resource to be included in the email attachment. |
Return Value
A LinkedResource object that contains the embedded resource.
See Also
- class LinkedResource
- namespace Aspose.Email
- assembly Aspose.Email
CreateLinkedResourceFromString(string, Encoding, string)
Creates the linked resource from string.
public static LinkedResource CreateLinkedResourceFromString(string content,
Encoding contentEncoding, string mediaType)
Parameter | Type | Description |
---|---|---|
content | String | A string that contains the resource to be included in the email attachment. |
contentEncoding | Encoding | The content encoding. |
mediaType | String | The MIME media type of the content. |
Return Value
A LinkedResource object that contains the embedded resource.
See Also
- class LinkedResource
- namespace Aspose.Email
- assembly Aspose.Email
CreateLinkedResourceFromString(string, ContentType)
Creates the linked resource from string.
public static LinkedResource CreateLinkedResourceFromString(string content, ContentType contentType)
Parameter | Type | Description |
---|---|---|
content | String | A string that contains the resource to be included in the email attachment. |
contentType | ContentType | The type of the content. |
Return Value
A LinkedResource object that contains the embedded resource.
See Also
- class ContentType
- class LinkedResource
- namespace Aspose.Email
- assembly Aspose.Email