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

Class VCardPhoneNumber

A telephone number, the value of the TEL property (RFC 6350 §6.4.1, RFC 2426 §3.3.1).

Inheritance
object
VCardPhoneNumber
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 VCardPhoneNumber

Constructors

View Source

VCardPhoneNumber(string, IReadOnlyList<VCardPhoneType>, bool)

Initializes a new instance of the VCardPhoneNumber class.

Declaration
public VCardPhoneNumber(string number, IReadOnlyList<VCardPhoneType> types, bool isPreferred)
Parameters
Type Name Description
string number

The telephone number.

IReadOnlyList<VCardPhoneType> types

The phone types (e.g. Work).

bool isPreferred

true if this is the preferred phone number.

Properties

View Source

IsPreferred

Gets a value indicating whether this is the preferred phone number.

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

Number

Gets the telephone number.

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

Types

Gets the phone types (e.g. Work, Cell).

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

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