Tip
Use AddressBuilder to create an instance.
public sealed class Address : ICompoundModel,
IEquatable<Address>Public NotInheritable Class Address
Implements ICompoundModel, IEquatable(Of Address)public ref class Address sealed : ICompoundModel,
IEquatable<Address^>[<SealedAttribute>]
type Address =
class
interface ICompoundModel
interface IEquatable<Address>
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(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)) |
| GetHashCode | Serves as the default hash function. (Overrides ObjectGetHashCode) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Overrides ObjectToString) |
| Equality(Address, Address) | Overloads the equality operator for Address instances. |
| Inequality(Address, Address) | Overloads the not-equal-to operator for Address instances. |
| ICompoundModelCount | Gets the number of elements in the ICompoundModel. |
| ICompoundModelItem | Gets the element at the specified index. |