PostalAddressCategory

PostalAddressCategory class

Represents category for a postal address

Constructors

NameDescription
PostalAddressCategory (2 overloads)Initializes a new instance of the PostalAddressCategory class with ‘Custom’ category.

Methods

NameDescription
Equals (2 overloads)Determines whether the specified object is equal to the current object.
get_CustomDefines a type of an address as an address of type other.
get_DescriptionGets description for the ‘Custom’ category of a postal address
get_HomeDefines a type of an address as a home address.
get_ValueGets category of a postal address
get_WorkDefines a type of an address as a work address.
GetHashCodeGetHashCode returns a hash function for this object.
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.
CustomValueString value for ‘Custom’ category
HomeValueString value for ‘Home’ category
WorkValueString value for ‘Work’ category