...
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 |
---|
|
Public Property Item( _
ByVal Identifier As Variant _
) As AttributeObj |
Parameters
Example
Code Block |
---|
|
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) |