Extending product function with VBA > The System Architect object model > Object model classes > Encyclopedia class > Encyclopedia class: Methods > GetDefinitionById
  
GetDefinitionById
This method will return a definition as a definition object from its specified identity.
Syntax
Encyclopedia Object.GetDefinitionById(Id)
Parameters
Encyclopedia Object
Use: Required
Data type: Object
Any instantiated Encyclopedia class
Id
Use: Required
Data type: Long
All definitions stored in System Architect are uniquely identified internally by the use of a data dictionary identifier.
Example
Dim oDefinition As Definition
Set oDefinition = oEncyclopedia.GetDefinitionById(12)
See also
Encyclopedia class: Methods