EntityType.Name Property

The unique name of the specified entity type. String.

Public Dim Name As String
    Member of [Namespace].EntityType
[C#]
public System.String Name
    Member of [Namespace].EntityType

Remarks

Example

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

'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#]
//This example assumes that the service instance 
//'commonService' has already been created and that 
//the MapPoint Web Service namespace has been imported 

//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 | FindServiceSoap.FindNearby Method | FindServiceSoap.FindByID Method | FindServiceSoap.FindByProperty Method | FindServiceSoap.FindNearRoute Method | FindSpecification.EntityTypeNames Property | FindServiceSoap.Find Method | CommonServiceSoap.GetEntityTypes Method | Acxiom Data Sources and Entity Types | NavTech.EU Entity Types and Properties | NavTech.NA Entity Types and Properties