Class ComponentName
A wrapper for the name of the component.
Implements
Namespace: Google.Maps.AddressValidation.V1
Assembly: Google.Maps.AddressValidation.V1.dll
Syntax
public sealed class ComponentName : IMessage<ComponentName>, IEquatable<ComponentName>, IDeepCloneable<ComponentName>, IBufferMessage, IMessage
Constructors
ComponentName()
Declaration
public ComponentName()
ComponentName(ComponentName)
Declaration
public ComponentName(ComponentName other)
Parameters
Type | Name | Description |
---|---|---|
ComponentName | other |
Properties
LanguageCode
The BCP-47 language code. This will not be present if the component name is not associated with a language, such as a street number.
Declaration
public string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
Text
The name text. For example, "5th Avenue" for a street name or "1253" for a street number.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string |