AttachmentBaseSetContentFromString Method |
Sets the content from string.
Namespace:
Aspose.Email
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntaxprotected void SetContentFromString(
string contentString,
Encoding encoding,
ContentType contentType,
TransferEncoding te
)
Protected Sub SetContentFromString (
contentString As String,
encoding As Encoding,
contentType As ContentType,
te As TransferEncoding
)
protected:
void SetContentFromString(
String^ contentString,
Encoding^ encoding,
ContentType^ contentType,
TransferEncoding te
)
member SetContentFromString :
contentString : string *
encoding : Encoding *
contentType : ContentType *
te : TransferEncoding -> unit
Parameters
- contentString
- Type: SystemString
The content string. - encoding
- Type: System.TextEncoding
The encoding. - contentType
- Type: Aspose.Email.MimeContentType
The content type. - te
- Type: Aspose.Email.MimeTransferEncoding
The transfer encoding.
See Also