Gets or sets the maximum number of locations to be returned by a search, up to the maximum number allowed by the service. If not specified, then one location will be returned. The world geocoding service allows up to 20 candidates to be returned for a single request.
Syntax
Visual Basic (Declaration) | |
---|
Public Property MaxLocations As Integer |
C# | |
---|
public int MaxLocations {get; set;} |
Requirements
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8
See Also