IModel.GetRefRelatedModels(IRelationshipClass) Method
Namespace: NextDesign.Core
Description
Retrieves instances that have a reference relationship with this instance through the specified related class.
This method evaluates IContextOption.PlModelAccessMode.
When accessing the model in the product-applied state according to the context option settings, elements related through reference relationships (including derivation relationships) disabled by the product line (PL) are not included in the results.
Note that if the specified related class is a self-referential relationship, both the source and target relationships are evaluated.
Argument
| Name | Type | Description |
|---|---|---|
| targetClass | IRelationshipClass | Relationship Class |
Return value
- IModelCollection