EntityType.DisplayName Property

EntityType.DisplayName Property

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".


Public DisplayName As System.String


[C#]

public System.String DisplayName;

Remarks

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.DisplayName)
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.DisplayName);
}


See Also

  EntityType Class   |   CommonServiceSoap.GetEntityTypes Method