Share via


EntityProperty.Name Property

EntityProperty.Name Property

The name of the property. The maximum length of this property is 50 characters.


Public Name As System.String


[C#]

public System.String Name;

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.Name)
  Next
 Next



[C#]

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


See Also

  EntityProperty Class