PhoneNumber

PhoneNumber class

Represents a phone number.

Constructors

NameDescription
PhoneNumber

Methods

NameDescription
CompareToCompares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Equals (3 overloads)Determines whether the specified Object is equal to the current Object.
get_CategoryGets an object category
get_NumberGets a phone number
get_PreferedGets a value which defines whether phone number is preferred.
GetHashCode (2 overloads)GetHashCode returns a hash function for this object.
set_CategorySets an object category
set_NumberSets a phone number
set_PreferedSets a value which defines whether phone number is preferred.
ToStringReturns a string that represents the current object.
operator!=Determines whether the specified objects are not equal.
operator==Determines whether the specified objects are equal.