EntityType.Properties Property
EntityType.Properties Property
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".
Public Properties As EntityProperty()
[C#]
public System.EntityProperty[] Properties;
Remarks
To return entity type information for a data source, use the CommonServiceSoap.GetEntityTypes method.
The geographic entity types in the MapPoint.AP, MapPoint.BR, MapPoint.EU, MapPoint.NA, MapPoint.World, and MapPoint.WorldRoutable data sources do not contain properties.
For more information about properties 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 the properties available for each
'NavTech.NA entity type
Dim myEntityTypes() As EntityType
myEntityTypes = commonService.GetEntityTypes("NavTech.NA")
Dim et As EntityType
Dim ep As EntityProperty
For Each et In myEntityTypes
Console.WriteLine("Available properties for the " _
+ et.DisplayName + " entity type are:")
For Each ep In et.Properties
Console.WriteLine(ep.DisplayName)
Next
Next
[C#]
//Output the properties available for each
//NavTech.NA entity type
EntityType[] myEntityTypes;
myEntityTypes = commonService.GetEntityTypes("NavTech.NA");
foreach(EntityType et in myEntityTypes)
{
Console.WriteLine("Available properties for the "
+ et.DisplayName + " entity type are:");
foreach(EntityProperty ep in et.Properties)
{
Console.WriteLine(ep.DisplayName);
}
}
See Also
EntityType Class | EntityProperty Class | CommonServiceSoap.GetEntityTypes Method