EntityType Class
EntityType Class
Contains the categorization of a geographic entity relative to other entities. EntityType objects are hierarchical.
Public Class EntityType Inherits System.Object
[C#]
public class EntityType : System.Object
Public Properties
Name | Description |
---|---|
Definition | A description of the specified entity type. For example, the value of the Definition property of the AdminDivision1 entity type in the MapPoint.AP, MapPoint.BR, MapPoint.EU, MapPoint.NA, MapPoint.World, and MapPoint.WorldRoutable data sources is "A first-order, initial political subdivision of a [CountryRegion], such as a state, province, department, region, or prefecture". |
DisplayName | The descriptive name of a specified entity type. For example, the value of the DisplayName property of the AdminDivision1 entity type in the MapPoint.AP, MapPoint.BR, MapPoint.EU, MapPoint.NA, MapPoint.World, and MapPoint.WorldRoutable data sources is "First-order administrative division". |
Name | The unique name of a specified entity type. |
ParentName | The name of the parent EntityType object of a specified entity type. For example, the ParentName property of the AdminDivision1 entity type in the MapPoint.AP, MapPoint.BR, MapPoint.EU, MapPoint.NA, MapPoint.World, and MapPoint.WorldRoutable data sources is "AdministrativeDivision". |
Properties | The array of entity properties (EntityProperty[] objects) that describe the properties of a specified entity type. For example, a Properties property of the SIC7011 entity type in the NavTech.NA data source is EntityProperty.Name="poi_name", EntityProperty.DisplayName="Business Name", EntityProperty.DataType="string". |
Remarks
The EntityType object is returned by the CommonServiceSoap.GetEntityTypes method.
The value of the EntityType.Name property is used with the following properties and methods:
FindFilter.EntityTypeName property.
FindSpecification.EntityTypeNames property.
GetInfoOptions.EntityTypesToReturn property.
FindServiceSoap.FindByID method.
FindServiceSoap.FindByProperty method.
FindServiceSoap.FindNearby method.
FindServiceSoap.FindNearRoute method.
FindServiceSoap.Find method.
FindServiceSoap.FindPolygon method.
FindServiceSoap.GetLocationInfo method.
For more information about names and definitions for geographic entity types in the MapPoint.AP, MapPoint.BR, MapPoint.EU, MapPoint.NA, MapPoint.World, and MapPoint.WorldRoutable data sources, see MapPoint Data Sources.
For more information about names and definitions for point-of-interest entity types in the MapPoint.NAICS, NavTech.EU, and NavTech.NA data sources, see the following topics:
See Also
EntityProperty Class | FindFilter.EntityTypeName Property | FindNearbySpecification.Filter Property | FindSpecification.EntityTypeNames Property | GetInfoOptions.EntityTypesToReturn Property