Share via


EntityProperty.DisplayName Property

EntityProperty.DisplayName Property

The descriptive name of a property.


Public DisplayName As System.String.


[C#]

public System.String DisplayName;

Remarks

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

  EntityProperty Class   |   EntityPropertyValue.Value Property