Entity.TypeName Property

A string representing the categorization of an entity relative to other entities (EntityType.Name property). String.

Public Dim TypeName As String
    Member of [Namespace].Entity
[C#]
public [Namespace].String TypeName
    Member of [Namespace].Entity

Remarks

  • For a list of the geographic entity type names and definitions for the MapPoint.BR, MapPoint.EU, MapPoint.NA, and MapPoint.World data sources, see MapPoint Data Source EntityTypes and Properties.
  • For a list of the point-of-interest entity type names and definitions for the Acxiom, NavTech.EU, and NavTech.NA data sources, see the following topics:

Example

 
[Visual Basic] 
'This example assumes that the service instance 
''findService' has already been created and that 
'the MapPoint Web Service namespace has been imported 

'Output the Entity type of each found location
Dim findSpec As New FindSpecification()
findSpec.DataSourceName = "MapPoint.NA"
findSpec.InputPlace = "Seattle, WA"
findSpec.Options = New FindOptions()
findSpec.Options.ThresholdScore = 0

Dim foundResults As FindResults
foundResults = findService.Find(findSpec)
Console.WriteLine("Entity Type List")
Dim fr As FindResult
For Each fr In foundResults.Results
    Console.WriteLine("The Entity type of " + fr.FoundLocation.Entity.Name _
        + " is " + fr.FoundLocation.Entity.TypeName)
Next

 
[C#]
//This example assumes that the service instance 
//'findService' has already been created and that 
//the MapPoint Web Service namespace has been imported 

//Output the Entity type of each found location
FindSpecification findSpec  = new FindSpecification();
findSpec.DataSourceName = "MapPoint.NA";
findSpec.InputPlace = "Seattle, WA";
findSpec.Options = new FindOptions();
findSpec.Options.ThresholdScore = 0;

FindResults foundResults;
foundResults = findService.Find(findSpec);
Console.WriteLine("Entity Type List");
foreach(FindResult fr in foundResults.Results)
{
    Console.WriteLine("The Entity type of " + fr.FoundLocation.Entity.Name 
        + " is " + fr.FoundLocation.Entity.TypeName);
}

 

See Also

Entity Class | EntityType.Name Property | Acxiom Data Sources and Entity Types | NavTech.EU Entity Types and Properties | NavTech.NA Entity Types and Properties