LinkedResourceCreateLinkedResourceFromString Method (String, Encoding, String) |
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,
Encoding contentEncoding,
string mediaType
)
Public Shared Function CreateLinkedResourceFromString (
content As String,
contentEncoding As Encoding,
mediaType As String
) As LinkedResource
public:
static LinkedResource^ CreateLinkedResourceFromString(
String^ content,
Encoding^ contentEncoding,
String^ mediaType
)
static member CreateLinkedResourceFromString :
content : string *
contentEncoding : Encoding *
mediaType : string -> LinkedResource
Parameters
- content
- Type: SystemString
A string that contains the resource to be included in the email attachment. - contentEncoding
- Type: System.TextEncoding
The content encoding. - mediaType
- Type: SystemString
The MIME media type of the content.
Return Value
Type:
LinkedResourceA LinkedResource object that contains the embedded resource.
See Also