dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Results

SuggestResult Class

The result object returned from a suggest().
ArcGIS Maps SDK for JavaScript

public class SuggestResult :
System.IEquatable<dymaptic.GeoBlazor.Core.Results.SuggestResult>

Inheritance System.Object 🡒 SuggestResult

Implements System.IEquatable<SuggestResult>

Constructors

SuggestResult(string, string, Nullable) Constructor

The result object returned from a suggest().
ArcGIS Maps SDK for JavaScript

public SuggestResult(string? Key=null, string? Text=null, System.Nullable<int> SourceIndex=null);

Parameters

Key System.String

The key related to the suggest result.
ArcGIS Maps SDK for JavaScript

Text System.String

The string name of the suggested location to geocode.
ArcGIS Maps SDK for JavaScript

SourceIndex System.Nullable<System.Int32>

The index of the currently selected result.
ArcGIS Maps SDK for JavaScript

Properties

SuggestResult.Key Property

The key related to the suggest result.
ArcGIS Maps SDK for JavaScript

public string? Key { get; set; }

Property Value

System.String

SuggestResult.SourceIndex Property

The index of the currently selected result.
ArcGIS Maps SDK for JavaScript

public System.Nullable<int> SourceIndex { get; set; }

Property Value

System.Nullable<System.Int32>

SuggestResult.Text Property

The string name of the suggested location to geocode.
ArcGIS Maps SDK for JavaScript

public string? Text { get; set; }

Property Value

System.String