Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Adds a new attribute (specified by the given name and key/non-key value) to the entity, and then returns the new attribute to the caller. PARAMETERS: Name as String, IsKey as Boolean.

...

Code Block
languagevb
Dim MyEntity As Entity 
Dim MyAttribute As AttributeObj 
Dim bIsKey As Boolean 
Dim AttributeName As String 

bIsKey = True 
AttributeName = "City" 

Set MyAttribute = MyEntity.Attributes.Add(AttributeName, bIsKey) 
Info
titleSee Also