Show / Hide Table of Contents

Class AutocompletePlacesResponse.Types.Suggestion.Types.FormattableText

Text representing a Place or query prediction. The text may be used as is or formatted.

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

Constructors

FormattableText()

Declaration
public FormattableText()

FormattableText(FormattableText)

Declaration
public FormattableText(AutocompletePlacesResponse.Types.Suggestion.Types.FormattableText other)
Parameters
Type Name Description
AutocompletePlacesResponse.Types.Suggestion.Types.FormattableText other

Properties

Matches

A list of string ranges identifying where the input request matched in text. The ranges can be used to format specific parts of text. The substrings may not be exact matches of input if the matching was determined by criteria other than string matching (for example, spell corrections or transliterations).

These values are Unicode character offsets of text. The ranges are guaranteed to be ordered in increasing offset values.

Declaration
public RepeatedField<AutocompletePlacesResponse.Types.Suggestion.Types.StringRange> Matches { get; }
Property Value
Type Description
RepeatedField<AutocompletePlacesResponse.Types.Suggestion.Types.StringRange>

Text

Text that may be used as is or formatted with matches.

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