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.

Namespace: Amazon.SimpleEmail.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class Content
Public Class Content
public ref class Content

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Content()()()()
Default constructor for a new Content object. Callers should use the properties or fluent setter (With...) methods to initialize this object after creating it.
Content(String)
Constructs a new Content object. Callers should use the properties or fluent setter (With...) methods to initialize any additional object members.
Charset
The character set of the content.
Data
The textual data of the content.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithCharset(String)
Sets the Charset property
WithData(String)
Sets the Data property

Inheritance Hierarchy

System..::..Object
  Amazon.SimpleEmail.Model..::..Content

See Also