Share via


EmailAddress Class

Definition

An object representing the email address and its display name

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

Constructors

EmailAddress()

Creates an new EmailAddress instance.

Properties

Address

Email address.

DisplayName

Email display name.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EmailAddress.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EmailAddress.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EmailAddress into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to