ESRI.ArcGIS.ADF.IMS
MaxCandidates Property
See Also  Send Feedback
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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.