FindSpecification Class

FindSpecification Class

Contains the search specification used in the FindServiceSoap.Find method. Specifies the place to find, the entity type names to find, the search options to use, and the data source from which to get results.


Public Class FindSpecification Inherits System.Object


[C#]

public class FindSpecification : System.Object
 

Public Properties

Name Description
public propertyDataSourceName

A string representing the name of the data source (DataSource.Name property) in which to search for a place. String.

public propertyEntityTypeNames

An array of strings representing the names of the entity types (EntityType.Name property) to find. String[].

public propertyInputPlace

The place name to find. String.

public propertyOptions

The search options (FindOptions object), which may include the range of results, the threshold score of results returned, the search context, and a flag to identify which objects are desired in the returned results.

Remarks

  • For the FindSpecification object to be valid, it must contain a DataSourceName property. If the InputPlace property is null, all entities are returned. If the EntityTypeNames property is null, all entity types are searched. If the Options property is null, default options are used.

  • The FindServiceSoap.Find method is valid with only data sources that have a CanFindPlaces capability (DataSourceCapability enumeration).

  • For more information about MapPoint Web Service data sources, see MapPoint Web Service Data Sources and Capabilities.

  • To retrieve a list of data sources and their capabilities, use the CommonServiceSoap.GetDataSourceInfo method.

See Also

  FindServiceSoap.Find Method   |   DataSource.Name Property   |   EntityType.Name Property   |   FindOptions Class   |   MapPoint Web Service Data Sources and Capabilities