AlternateView.CreateAlternateViewFromString
Contents
[
Hide
]CreateAlternateViewFromString(string)
Creates a AlternateView of using the content specified in a string.
public static AlternateView CreateAlternateViewFromString(string content)
| Parameter | Type | Description | 
|---|---|---|
| content | String | The string that contains the content. | 
Return Value
An AlternateView object that represents an alternate view.
See Also
- class AlternateView
- namespace Aspose.Email
- assembly Aspose.Email
CreateAlternateViewFromString(string, Encoding, string)
Creates a AlternateView of using the content specified in a string.
public static AlternateView CreateAlternateViewFromString(string content, Encoding contentEncoding, 
    string mediaType)
| Parameter | Type | Description | 
|---|---|---|
| content | String | The string that contains the content. | 
| contentEncoding | Encoding | The content encoding. | 
| mediaType | String | Internet media type. | 
Return Value
An AlternateView object that represents an alternate view.
See Also
- class AlternateView
- namespace Aspose.Email
- assembly Aspose.Email
CreateAlternateViewFromString(string, ContentType)
Creates a AlternateView of using the content specified in a string.
public static AlternateView CreateAlternateViewFromString(string content, ContentType contentType)
| Parameter | Type | Description | 
|---|---|---|
| content | String | The string that contains the content. | 
| contentType | ContentType | Content type. | 
Return Value
An AlternateView object that represents an alternate view.
See Also
- class ContentType
- class AlternateView
- namespace Aspose.Email
- assembly Aspose.Email
CreateAlternateViewFromString(string, ContentType, TransferEncoding)
Creates a AlternateView of using the content specified in a string.
public static AlternateView CreateAlternateViewFromString(string content, ContentType contentType, 
    TransferEncoding transferencoding)
| Parameter | Type | Description | 
|---|---|---|
| content | String | The string that contains the content. | 
| contentType | ContentType | Content type. | 
| transferencoding | TransferEncoding | The transfer encoding. | 
Return Value
An AlternateView object that represents an alternate view.
See Also
- class ContentType
- enum TransferEncoding
- class AlternateView
- namespace Aspose.Email
- assembly Aspose.Email