ESRI.ArcGIS.ADF.IMS
MaxCandidates Property
See Also 
ESRI.ArcGIS.ADF.IMS.Geocode Namespace > Geocoder Class : MaxCandidates Property




Gets or sets a feature limit for the number of candidates returned.

Syntax

Visual Basic (Declaration) 
Public Property MaxCandidates As Integer
Visual Basic (Usage)Copy Code
Dim instance As Geocoder
Dim value As Integer
 
instance.MaxCandidates = value
 
value = instance.MaxCandidates
C# 
public int MaxCandidates {get; set;}

Example

For an example, see AddressValueCollection .

Remarks

Multiple features can match a geocoding operation, especially if the MinScore is set to a low value. MaxCandidates limits the number of features that may be returned when geocoding.

Default is 20.

See Also

© 2010 All Rights Reserved.