Hide Table of Contents
esri/dijit/util
esri/layer/pixelFilters
esri/process
esri/workers
Class: FindResult

require(["esri/tasks/FindResult"], function(FindResult) { /* code goes here */ });

Description

(Added at v1.0)
Represents a result of a find operation. FindResult has no constructor.

Samples

Search for samples that use this class.

Properties

NameTypeSummary
displayFieldNameStringThe name of the layer's primary display field.
featureGraphicThe found feature.
foundFieldNameStringThe name of the field that contains the search text.
layerIdNumberUnique ID of the layer that contains the feature.
layerNameStringThe layer name that contains the feature.
Property Details

<String> displayFieldName

The name of the layer's primary display field. The value of this property matches the name of one of the fields of the feature.

<Graphic> feature

The found feature.

<String> foundFieldName

The name of the field that contains the search text.

<Number> layerId

Unique ID of the layer that contains the feature.

<String> layerName

The layer name that contains the feature.