Class VCardEmail
An email address, the value of the EMAIL property (RFC 6350 §6.4.2,
RFC 2426 §3.3.2).
Inherited Members
Namespace: DRIT.Mail.Rfc.VCard
Assembly: DRIT.Mail.dll
Syntax
public sealed class VCardEmail
Constructors
View SourceVCardEmail(string, IReadOnlyList<VCardEmailType>, bool)
Initializes a new instance of the VCardEmail class.
Declaration
public VCardEmail(string address, IReadOnlyList<VCardEmailType> types, bool isPreferred)
Parameters
| Type | Name | Description |
|---|---|---|
| string | address | The email address. |
| IReadOnlyList<VCardEmailType> | types | The email types (e.g. Internet). |
| bool | isPreferred |
|
Properties
View SourceAddress
Gets the email address.
Declaration
public string Address { get; }
Property Value
| Type | Description |
|---|---|
| string |
IsPreferred
Gets a value indicating whether this is the preferred email address.
Declaration
public bool IsPreferred { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Types
Gets the email types (e.g. Internet,
Work).
Declaration
public IReadOnlyList<VCardEmailType> Types { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<VCardEmailType> |
Methods
View SourceToString()
Processes the to string data.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |