LinkedResourceCreateLinkedResourceFromString Method (String, ContentType) |
Creates the linked resource from string.
Namespace:
Aspose.Email
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntaxpublic static LinkedResource CreateLinkedResourceFromString(
string content,
ContentType contentType
)
Public Shared Function CreateLinkedResourceFromString (
content As String,
contentType As ContentType
) As LinkedResource
public:
static LinkedResource^ CreateLinkedResourceFromString(
String^ content,
ContentType^ contentType
)
static member CreateLinkedResourceFromString :
content : string *
contentType : ContentType -> LinkedResource
Parameters
- content
- Type: SystemString
A string that contains the resource to be included in the email attachment. - contentType
- Type: Aspose.Email.MimeContentType
The type of the content.
Return Value
Type:
LinkedResourceA LinkedResource object that contains the embedded resource.
See Also