Versions Compared

Key

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

...

Returns an attribute (specified by the given name, GUID, or ID) from the entity. When passing in a name to the function, the attribute is indexed by the attribute name/rolename in the logical model and by the column name/rolename in the physical model.

...

Code Block
languagevb
Public Property Item( _
   ByVal Identifier As Variant _
) As AttributeObj

Parameters

  • Identifier

Example

Code Block
languagevb
Dim MyEntity As Entity 
Dim MyAttribute As AttributeObj 
Dim AttributeID As Integer 

' We want the attribute with 2 as the ID 
AttributeID = 2 

Set MyAttribute = MyEntity.Attributes.Item(AttributeID) 
Info
titleSee Also