FindResults.NumberFound Property

MapPoint Web Service is deprecated and will be retired November 18, 2011. Please go to for information about upgrading to Bing Maps.

The total number of results found, including results that were not returned. Integer.

[Visual Basic]

Public NumberFound As System.Integer

[C#] public System.Int32 NumberFound;


  • The NumberFound property is not influenced by the FindRange object sent to a find operation. In other words, this property is not the number of results returned; rather, it is the number of results found. Maximum value is 500 (100 for the FindServiceSoap.FindAddress method).

  • If no results are found, the returned NumberFound property value is 0.


[Visual Basic]

'Output the first find result if it is a perfect match
Dim findSpec As New FindSpecification()
findSpec.DataSourceName = "MapPoint.NA"
findSpec.InputPlace = "Seattle, WA"

Dim foundResults As FindResults
foundResults = findService.Find(findSpec)
If (foundResults.NumberFound = 1) Then
 Console.WriteLine("Zero or multiple results found.")
End If

[C#] //Output the first find result if it is a perfect match FindSpecification findSpec = new FindSpecification(); findSpec.DataSourceName = "MapPoint.NA"; findSpec.InputPlace = "Seattle, WA"; FindResults foundResults; foundResults = findService.Find(findSpec); if (foundResults.NumberFound == 1) { Console.WriteLine(foundResults.Results[0].FoundLocation.Entity.DisplayName); } else { Console.WriteLine("Zero or multiple results found."); }

See Also

  FindResults Class   |   FindRange Class