• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class VCardEmail

An email address, the value of the EMAIL property (RFC 6350 §6.4.2, RFC 2426 §3.3.2).

Inheritance
object
VCardEmail
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Mail.Rfc.VCard
Assembly: DRIT.Mail.dll
Syntax
public sealed class VCardEmail

Constructors

View Source

VCardEmail(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

true if this is the preferred email address.

Properties

View Source

Address

Gets the email address.

Declaration
public string Address { get; }
Property Value
Type Description
string
View Source

IsPreferred

Gets a value indicating whether this is the preferred email address.

Declaration
public bool IsPreferred { get; }
Property Value
Type Description
bool
View Source

Types

Gets the email types (e.g. Internet, Work).

Declaration
public IReadOnlyList<VCardEmailType> Types { get; }
Property Value
Type Description
IReadOnlyList<VCardEmailType>

Methods

View Source

ToString()

Processes the to string data.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX