AlternateViewCreateAlternateViewFromString Method (String, ContentType, TransferEncoding) |
Creates a AlternateView of using
the content specified in a string.
Namespace:
Aspose.Email
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax public static AlternateView CreateAlternateViewFromString(
string content,
ContentType contentType,
TransferEncoding transferencoding
)
Public Shared Function CreateAlternateViewFromString (
content As String,
contentType As ContentType,
transferencoding As TransferEncoding
) As AlternateView
public:
static AlternateView^ CreateAlternateViewFromString(
String^ content,
ContentType^ contentType,
TransferEncoding transferencoding
)
static member CreateAlternateViewFromString :
content : string *
contentType : ContentType *
transferencoding : TransferEncoding -> AlternateView
Parameters
- content
- Type: SystemString
The string that contains the content. - contentType
- Type: Aspose.Email.MimeContentType
Content type. - transferencoding
- Type: Aspose.Email.MimeTransferEncoding
The transfer encoding.
Return Value
Type:
AlternateViewAn AlternateView object that represents an alternate view.
See Also