Share via


EmailContent Class

Definition

Content of the email.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.EmailContentTypeConverter))]
public class EmailContent : Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailContent
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.EmailContentTypeConverter))>]
type EmailContent = class
    interface IEmailContent
    interface IJsonSerializable
Public Class EmailContent
Implements IEmailContent
Inheritance
EmailContent
Attributes
Implements

Constructors

EmailContent()

Creates an new EmailContent instance.

Properties

Html

Html version of the email message.

PlainText

Plain text version of the email message.

Subject

Subject of the email message

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EmailContent.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EmailContent.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailContent.

FromJsonString(String)

Creates a new instance of EmailContent, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of EmailContent into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to