FindSpecification.InputPlace Property
FindSpecification.InputPlace Property
The place name to find. String.
Public Dim InputPlace As System.String
[C#]
public System.String InputPlace;
Remarks
The InputPlace property is used with the specification parameter of the FindServiceSoap.Find method.
If the InputPlace property is null or an empty string, all entities are returned with a FindResult.Score property of 0. Make sure the FindOptions.ThresholdScore property is set to 0 to return the results.
You can pass a postal code in the InputPlace property.
Note The maximum number of returned values is 500.
Example
[Visual Basic]
'Output the returned find results
Dim findSpec As New FindSpecification()
findSpec.DataSourceName = "MapPoint.NA"
findSpec.InputPlace = "Seattle, WA"
Dim foundResults As FindResults
foundResults = findService.Find(findSpec)
Dim fr As FindResult
For Each fr In foundResults.Results
Console.WriteLine(fr.FoundLocation.Entity.DisplayName)
Next
[C#]
//Output the returned find results
FindSpecification findSpec = new FindSpecification();
findSpec.DataSourceName = "MapPoint.NA";
findSpec.InputPlace = "Seattle, WA";
FindResults foundResults;
foundResults = findService.Find(findSpec);
foreach(FindResult fr in foundResults.Results)
{
Console.WriteLine(fr.FoundLocation.Entity.DisplayName);
}
See Also
FindSpecification Class | FindServiceSoap.Find Method | FindResult.Score Property | FindOptions.ThresholdScore Property