You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Description

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.

Property Type

  • Read-only property

Syntax

Public Property Item( _
   ByVal Identifier As Variant _
) As AttributeObj

Parameters

  • Identifier

Example

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) 

See Also

  • No labels