Show / Hide Table of Contents

Class AddressComponent

Represents an address component, such as a street, city, or state.

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

Constructors

AddressComponent()

Declaration
public AddressComponent()

AddressComponent(AddressComponent)

Declaration
public AddressComponent(AddressComponent other)
Parameters
Type Name Description
AddressComponent other

Properties

ComponentName

The name for this component.

Declaration
public ComponentName ComponentName { get; set; }
Property Value
Type Description
ComponentName

ComponentType

The type of the address component. See Table 2: Additional types returned by the Places service for a list of possible types.

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

ConfirmationLevel

Indicates the level of certainty that we have that the component is correct.

Declaration
public AddressComponent.Types.ConfirmationLevel ConfirmationLevel { get; set; }
Property Value
Type Description
AddressComponent.Types.ConfirmationLevel

Inferred

Indicates that the component was not part of the input, but we inferred it for the address location and believe it should be provided for a complete address.

Declaration
public bool Inferred { get; set; }
Property Value
Type Description
bool

Replaced

Indicates the name of the component was replaced with a completely different one, for example a wrong postal code being replaced with one that is correct for the address. This is not a cosmetic change, the input component has been changed to a different one.

Declaration
public bool Replaced { get; set; }
Property Value
Type Description
bool

SpellCorrected

Indicates a correction to a misspelling in the component name. The API does not always flag changes from one spelling variant to another, such as when changing "centre" to "center". It also does not always flag common misspellings, such as when changing "Amphitheater Pkwy" to "Amphitheatre Pkwy".

Declaration
public bool SpellCorrected { get; set; }
Property Value
Type Description
bool

Unexpected

Indicates an address component that is not expected to be present in a postal address for the given region. We have retained it only because it was part of the input.

Declaration
public bool Unexpected { get; set; }
Property Value
Type Description
bool
In this article
Back to top Generated by DocFX