Address Class

Encapsulates information about a postal delivery address.

Definition

Namespace: FolkerKinzel.VCards.Models
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
C#
public sealed class Address : IReadOnlyList<IReadOnlyList<string>>, 
	IEnumerable<IReadOnlyList<string>>, IEnumerable, IReadOnlyCollection<IReadOnlyList<string>>
Inheritance
Object    Address
Implements
IEnumerableIReadOnlyListString, IReadOnlyCollectionIReadOnlyListString, IReadOnlyListIReadOnlyListString, IEnumerable

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

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Overrides ObjectToString)

Explicit Interface Implementations

IEnumerableGetEnumeratorReturns an enumerator that iterates through a collection.
IEnumerableIReadOnlyListStringGetEnumeratorReturns an enumerator that iterates through the collection.
IReadOnlyCollectionIReadOnlyListStringCountGets the number of elements in the collection.
IReadOnlyListIReadOnlyListStringItemGets the element at the specified index in the read-only list.

See Also