EntityType.Name Property
EntityType.Name Property
The unique name of a specified entity type.
Public Name As System.String
[C#]
public System.String Name;
Remarks
The value of the Name property is used with the following properties and methods:
FindFilter.EntityTypeName property.
FindSpecification.EntityTypeNames property.
GetInfoOptions.EntityTypesToReturn property.
FindByIDSpecification.Filter property.
FindByPropertySpecification.Filter property.
FindByIDSpecification.Filter property.
FindNearRouteSpecification.Filter property.
FindByID method.
FindByProperty method.
FindNearby method.
FindNearRoute method.
FindServiceSoap.FindPolygon method.
FindServiceSoap.Find method.
FindServiceSoap.GetLocationInfo method.
To return entity type information for a data source, use the CommonServiceSoap.GetEntityTypes method.
For more information about names of 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 of point-of-interest entity types in the MapPoint.NAICS, NavTech.EU, and MapPoint.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)
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);
}
See Also
EntityType Class | FindFilter.EntityTypeName Property | FindNearbySpecification.Filter Property | FindSpecification.EntityTypeNames Property | CommonServiceSoap.GetEntityTypes Method