TEL Class
A telephone number, voice, fax, email address, or other locator used for a resouce mediated by telecommunications equipment.

Inheritance Hierarchy

OnlineSystem Object
  MARC.Everest.DataTypes HXIT
    MARC.Everest.DataTypes ANY
      MARC.Everest.DataTypes PDV <OnlineString >
        MARC.Everest.DataTypes TEL

Namespace: MARC.Everest.DataTypes
Assembly: MARC.Everest.Phone (in MARC.Everest.Phone.dll) Version: (1.5.0)



public class TEL : PDV<string>, ITelecommunicationAddress, 


The address is specified as a universal resource locator qualified by time specification and use codes that help in deciding which address to use for a given time and purpose


TEL flavors

string url = ""; // valid e-mail 
string url2 = ""; // valid web address 
string url3 = "tel:+1905-389-6509"; // valid phone number

TEL urlTEL = url; //implicit conversion from string to TEL
TEL urlTEL2 = url2;
TEL urlTEL3 = url3;

Console.WriteLine(TEL.EMail(urlTEL)); //should return false, urlTEL is not an email
Console.WriteLine(TEL.Phone(urlTEL3)); //should return false, urlTEL is not a phone number
Console.WriteLine(TEL.Url(urlTEL2)); //should return true, is a valid URL

Version Information

Everest Compact Framework

Supported in: 1.2 Compact

Everest Framework

Supported in: 1.2, 1.0

See Also