Class PostalAddressCategory
PostalAddressCategory class
Represents category for a postal address
public class PostalAddressCategory : IEquatable<PostalAddressCategory>
Constructors
Name | Description |
---|
PostalAddressCategory(string) | Initializes a new instance of the PostalAddressCategory class with ‘Custom’ category. |
Properties
Name | Description |
---|
static Custom { get; } | Defines a type of an address as an address of type other. |
static Home { get; } | Defines a type of an address as a home address. |
static Work { get; } | Defines a type of an address as a work address. |
Description { get; } | Gets description for the ‘Custom’ category of a postal address |
Value { get; } | Gets category of a postal address |
Methods
Name | Description |
---|
override Equals(object) | Determines whether the specified Object is equal to the current Object. |
virtual Equals(PostalAddressCategory) | 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 CustomValue | String value for ‘Custom’ category |
const HomeValue | String value for ‘Home’ category |
const WorkValue | String value for ‘Work’ category |
See Also