Show / Hide Table of Contents

Class GeocodeResult.Types.AddressComponent

The structured components that form the formatted address, if this information is available.

Inheritance
object
GeocodeResult.Types.AddressComponent
Implements
IMessage<GeocodeResult.Types.AddressComponent>
IEquatable<GeocodeResult.Types.AddressComponent>
IDeepCloneable<GeocodeResult.Types.AddressComponent>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Maps.Geocode.V4
Assembly: Google.Maps.Geocode.V4.dll
Syntax
public sealed class GeocodeResult.Types.AddressComponent : IMessage<GeocodeResult.Types.AddressComponent>, IEquatable<GeocodeResult.Types.AddressComponent>, IDeepCloneable<GeocodeResult.Types.AddressComponent>, IBufferMessage, IMessage

Constructors

AddressComponent()

Declaration
public AddressComponent()

AddressComponent(AddressComponent)

Declaration
public AddressComponent(GeocodeResult.Types.AddressComponent other)
Parameters
Type Name Description
GeocodeResult.Types.AddressComponent other

Properties

LanguageCode

The language used to format this component, in CLDR notation.

Declaration
public string LanguageCode { get; set; }
Property Value
Type Description
string

LongText

The full text description or name of the address component. For example, an address component for the country Australia may have a long name of "Australia".

Declaration
public string LongText { get; set; }
Property Value
Type Description
string

ShortText

An abbreviated textual name for the address component, if available. For example, an address component for the country of Australia may have a short name of "AU".

Declaration
public string ShortText { get; set; }
Property Value
Type Description
string

Types_

An array indicating the type(s) of the address component.

See https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types for more details.

Declaration
public RepeatedField<string> Types_ { get; }
Property Value
Type Description
RepeatedField<string>
In this article
Back to top Generated by DocFX