Skip to main content

IModel.GetDerivedModels(IPackage,string,bool) Method

Namespace: NextDesign.Core

Description

Gets instances derived from this instance by the specified related class.
The specified class is identified from the package specified by the scope.

This method evaluates IContextOption.PlModelAccessMode.

This method returns an empty collection if the following cases are true:

  • There is no derived instance associated with the corresponding derived association.
  • The specified associated class cannot be found.
  • The specified associated class is not a derived association.
  • The reference field to the derived destination by the specified derived association class cannot be found.

Arguments

NameTypeDescription
scopeIPackageScope (Package that is the base of the search range)
classNamestringDerived association class name
Specify the name or fully qualified name of the derived association class.
fuzzyboolFuzzy match option
Whether to treat the className argument as the name of a class instead of a fully qualified name.
If False, it is evaluated as if a class whose fully qualified name matches className is specified.
If True, it is evaluated as if a class whose class name matches className is specified.

The default value is True.

Return value

  • IModelCollection