ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
FindAddressCandidates(Generic List,Boolean,Boolean) Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > GeocodeFunctionality Class > FindAddressCandidates Method : FindAddressCandidates(Generic List,Boolean,Boolean) Method




address
Address to geocode, in the form of a list of address values.
includeOIDField
Whether to include the object ID field in the results.
includeGeometryField
Whether to include a field with geometry (points)of locations in the results.
Finds a set of locations that are candidates to match the input address.

Syntax

Visual Basic (Declaration) 
Public Overloads Function FindAddressCandidates( _
   ByVal address As List(Of AddressValue), _
   ByVal includeOIDField As Boolean, _
   ByVal includeGeometryField As Boolean _
) As DataTable
Visual Basic (Usage)Copy Code
Dim instance As GeocodeFunctionality
Dim address As List(Of AddressValue)
Dim includeOIDField As Boolean
Dim includeGeometryField As Boolean
Dim value As DataTable
 
value = instance.FindAddressCandidates(address, includeOIDField, includeGeometryField)
C# 
public DataTable FindAddressCandidates( 
   List<AddressValue> address,
   bool includeOIDField,
   bool includeGeometryField
)

Parameters

address
Address to geocode, in the form of a list of address values.
includeOIDField
Whether to include the object ID field in the results.
includeGeometryField
Whether to include a field with geometry (points)of locations in the results.

Return Value

Table of candidates for matching the input address.

Remarks

When geocoding, many locations may partially match the input address. This method finds locations whose geocode score is at least the MinCandidateScore. Since the MinCandidateScore is typically low, this method may return a large number of candidates.

See Also

© 2010 All Rights Reserved.