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.
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 |
| Member | Description | |
|---|---|---|
| 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) | (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()()()() | (Inherited from Object.) | |
| WithCharset(String) |
Sets the Charset property
| |
| WithData(String) |
Sets the Data property
|