CreateAlternateViewFromString

CreateAlternateViewFromString (1 of 5)

Creates a AlternateView of using the content specified in a string.

Returns: An AlternateView object that represents an alternate view.

CreateAlternateViewFromString(System::String content)
ParameterDescription
contentThe string that contains the content.

CreateAlternateViewFromString (2 of 5)

Creates a AlternateView of using the content specified in a string.

Returns: An AlternateView object that represents an alternate view.

CreateAlternateViewFromString(System::String content, System::SharedPtr < Aspose::Email::Mime::ContentType > contentType)
ParameterDescription
contentThe string that contains the content.
contentTypeContent type.

CreateAlternateViewFromString (3 of 5)

Creates a AlternateView of using the content specified in a string.

Returns: An AlternateView object that represents an alternate view.

CreateAlternateViewFromString(System::String content, System::SharedPtr < Aspose::Email::Mime::ContentType > contentType, Aspose::Email::Mime::TransferEncoding transferencoding)
ParameterDescription
contentThe string that contains the content.
contentTypeContent type.
transferencodingThe transfer encoding.

CreateAlternateViewFromString (4 of 5)

Returns: static System::SharedPtr < AlternateView > Aspose::Email::

CreateAlternateViewFromString(System::String content, System::SharedPtr < System::Text::Encoding > contentEncoding, System::SharedPtr < Aspose::Email::Mime::ContentType > contentType)
ParameterDescription
content
contentEncoding
contentType

CreateAlternateViewFromString (5 of 5)

Creates a AlternateView of using the content specified in a string.

Returns: An AlternateView object that represents an alternate view.

CreateAlternateViewFromString(System::String content, System::SharedPtr < System::Text::Encoding > contentEncoding, System::String mediaType)
ParameterDescription
contentThe string that contains the content.
contentEncodingThe content encoding.
mediaTypeInternet media type.