Content Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

Represents textual data, plus an optional character set specification.

By default, the text must be 7-bit ASCII, due to the constraints of the SMTP protocol. If the text must contain any other characters, then you must also specify a character set. Examples include UTF-8, ISO-8859-1, and Shift_JIS.

Inheritance Hierarchy

System.Object
  Amazon.SimpleEmail.Model.Content

Namespace: Amazon.SimpleEmail.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class Content : Object

The Content type exposes the following members

Constructors

  Name Description
Public Method Content() Default constructor for a new Content object. Callers should use the properties to initialize this object after creating it.
Public Method Content(string) Constructs a new Content object. Callers should use the properties initialize any additional object members.

Properties

  Name Description
Public Property Charset The character set of the content.
Public Property Data The textual data of the content.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8