Class AddressComponent
- Namespace
- GoogleMapsApi.Entities.Geocoding.Response
- Assembly
- GoogleMapsApi.dll
public class AddressComponent
- Inheritance
-
AddressComponent
- Inherited Members
Properties
LongName
long_name is the full text description or name of the address component as returned by the Geocoder.
[JsonPropertyName("long_name")]
public string LongName { get; set; }
Property Value
ShortName
short_name is an abbreviated textual name for the address component, if available. For example, an address component for the state of Alaska may have a long_name of "Alaska" and a short_name of "AK" using the 2-letter postal abbreviation.
[JsonPropertyName("short_name")]
public string ShortName { get; set; }
Property Value
Types
types[] is an array indicating the type of the address component.
[JsonPropertyName("types")]
public IEnumerable<string> Types { get; set; }