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