Address Class

Encapsulates information about a postal delivery address.

Definition

Namespace: FolkerKinzel.VCards.Models
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.1.0+9753915cd0f8006e7e5b4f62aa63aa3651006f06
C#
public sealed class Address : ICompoundModel, 
	IEquatable<Address>
Inheritance
Object    Address
Implements
ICompoundModel, IEquatableAddress

Remarks

Properties

Apartment The extension designation such as the apartment number, unit, or box number. (4 - RFC 9554)
Block The block name or number. (4 - RFC 9554)
Building The building, tower, or condominium the address is located in. (4 - RFC 9554)
CountryThe country name (full name).
Direction The cardinal direction or quadrant, e.g., "north". (4 - RFC 9554)
District The district name. (4 - RFC 9554)
ExtendedThe extended address (e.g., apartment or suite number).
Floor The floor or level the address is located on. (4 - RFC 9554)
IsEmptyReturns true, if the Address object does not contain any usable data.
Landmark The publicly known prominent feature that can substitute the street name and number, e.g., "White House" or "Taj Mahal". (4 - RFC 9554)
LocalityThe locality (e.g., city).
POBoxThe post office box.
PostalCodeThe postal code.
RegionThe region (e.g., state or province).
Room The room, suite number, or identifier. (4 - RFC 9554)
StreetThe street address.
StreetName The street name. (4 - RFC 9554)
StreetNumber The street number, e.g., "123". (4 - RFC 9554)
SubDistrict The subdistrict, ward, or other subunit of a district. (4 - RFC 9554)

Methods

Equals(Address)Indicates whether the current object is equal to another object of the same type.
Equals(Object)Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
GetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Overrides ObjectToString)

Operators

Equality(Address, Address) Overloads the equality operator for Address instances.
Inequality(Address, Address) Overloads the not-equal-to operator for Address instances.

Explicit Interface Implementations

ICompoundModelCount Gets the number of elements in the ICompoundModel.
ICompoundModelItem Gets the element at the specified index.

See Also