EntityType.Definition Property
EntityType.Definition Property
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".
Public Definition As System.String
[C#]
public System.String Definition;
Remarks
To return entity type information for a data source, use the CommonServiceSoap.GetEntityTypes method.
For more information about 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 definitions for point-of-interest entity types in the MapPoint.NAICS, NavTech.EU, and NavTech.NA data sources, see the following topics:
Example
[Visual Basic]
'Output all of the entity types in the MapPoint.NA data source
Dim myEntityTypes() As EntityType
Dim myDataSourceName As String = "MapPoint.NA"
myEntityTypes = commonService.GetEntityTypes(myDataSourceName)
Dim et As EntityType
For Each et In myEntityTypes
Console.WriteLine(et.Name + ": " + et.Definition)
Next
[C#]
//Output all of the entity types in the MapPoint.NA data source
EntityType[] myEntityTypes;
string myDataSourceName = "MapPoint.NA";
myEntityTypes = commonService.GetEntityTypes(myDataSourceName);
foreach(EntityType et in myEntityTypes)
{
Console.WriteLine(et.Name + ": " + et.Definition);
}
See Also
EntityType Class | CommonServiceSoap.GetEntityTypes Method