Skip to main content

IModel.GetDerivedFromRelationsOf method

Namespace: NextDesign.Core

Description

If this model is an element derived from the specified model, get all the derived relationships.
For example, if this model is an element derived from{element A}, you can obtain the derived relationship by specifying{element A} as an argument.

This can be used for processing such as:
・If there is a derived relationship between the request object and the specification object, obtain the relationship for the request object from the specification object side

This method evaluates IContextOption.PlModelAccessMode.

Returns an empty collection if no such association exists.

argument

NameTypeDescription
oppositeIModelOpposite model
Null cannot be specified.

Return value

  • IRelationshipCollection

Exception

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf null is specified for opposite