PhoneNumberCategory

PhoneNumberCategory class

Represents category for a phone number

public class PhoneNumberCategory : IEquatable<PhoneNumberCategory>

Constructors

Name Description
PhoneNumberCategory(string) Initializes a new instance of the PhoneNumberCategory class with ‘Custom’ category.

Properties

Name Description
static Assistant { get; } Assistant phone number
static Callback { get; } Callback phone number
static Car { get; } Car phone number
static Company { get; } Company phone number
static Custom { get; } Custom phone category
static Fax { get; } Fax number
static Home { get; } Home phone number
static HomeFax { get; } Home fax number
static Isdn { get; } Isdn phone number
static Mobile { get; } Mobile phone number
static Office { get; } Office phone number
static Pager { get; } Pager number
static Primary { get; } Primary phone number
static Radio { get; } Radio phone number
static Telex { get; } Telex
static TtyTdd { get; } Tty/Tdd
static Work { get; } Work phone number
static WorkFax { get; } Work fax number
Description { get; } Gets description for the ‘Custom’ category of a phone number
Value { get; } Gets category of a phone number

Methods

Name Description
override Equals(object) Determines whether the specified Object is equal to the current Object.
virtual Equals(PhoneNumberCategory) Determines whether the specified object is equal to the current object.
override GetHashCode() GetHashCode returns a hash function for this object.
override ToString() Returns a string that represents the current object.
operator == Determines whether the specified objects are equal.
operator != Determines whether the specified objects are not equal.

Fields

Name Description
const AssistantValue String value for ‘Assistant’ category
const CallbackValue String value for ‘Callback’ category
const CarValue String value for ‘Car’ category
const CompanyValue String value for ‘Company’ category
const CustomValue String value for ‘Custom’ category
const FaxValue String value for ‘Fax’ category
const HomeFaxValue String value for ‘Fax’ category
const HomeValue String value for ‘Home’ category
const IsdnValue String value for ‘Isdn’ category
const MobileValue String value for ‘Mobile’ category
const OfficeValue String value for ‘Office’ category
const PagerValue String value for ‘Pager’ category
const PrimaryValue String value for ‘Primary’ category
const RadioValue String value for ‘Radio’ category
const TelexValue String value for ‘Telex’ category
const TtyTddValue String value for ‘TtyTdd’ category
const WorkFaxValue String value for ‘Fax’ category
const WorkValue String value for ‘Work’ category

See Also