Tip
Use AddressBuilder to create an instance.
public sealed class Address : IReadOnlyList<IReadOnlyList<string>>,
IEnumerable<IReadOnlyList<string>>, IEnumerable, IReadOnlyCollection<IReadOnlyList<string>>
Public NotInheritable Class Address
Implements IReadOnlyList(Of IReadOnlyList(Of String)),
IEnumerable(Of IReadOnlyList(Of String)), IEnumerable, IReadOnlyCollection(Of IReadOnlyList(Of String))
public ref class Address sealed : IReadOnlyList<IReadOnlyList<String^>^>,
IEnumerable<IReadOnlyList<String^>^>, IEnumerable, IReadOnlyCollection<IReadOnlyList<String^>^>
[<SealedAttribute>]
type Address =
class
interface IReadOnlyList<IReadOnlyList<string>>
interface IEnumerable<IReadOnlyList<string>>
interface IEnumerable
interface IReadOnlyCollection<IReadOnlyList<string>>
end
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) |
Country | The country name (full name). |
Direction | The cardinal direction or quadrant, e.g., "north". (4 - RFC 9554) |
District | The district name. (4 - RFC 9554) |
Extended | The extended address (e.g., apartment or suite number). |
Floor | The floor or level the address is located on. (4 - RFC 9554) |
IsEmpty | Returns 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) |
Locality | The locality (e.g., city). |
POBox | The post office box. |
PostalCode | The postal code. |
Region | The region (e.g., state or province). |
Room | The room, suite number, or identifier. (4 - RFC 9554) |
Street | The 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) |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Overrides ObjectToString) |
IEnumerableGetEnumerator | Returns an enumerator that iterates through a collection. |
IEnumerableIReadOnlyListStringGetEnumerator | Returns an enumerator that iterates through the collection. |
IReadOnlyCollectionIReadOnlyListStringCount | Gets the number of elements in the collection. |
IReadOnlyListIReadOnlyListStringItem | Gets the element at the specified index in the read-only list. |