Skip to main content

IModel.FindChildrenByClassDisplayName method

Namespace: NextDesign.Core

Description

Finds an instance of the class with the specified display name among the instances that own this instance. This method evaluates IContextOption.PlModelAccessMode.

Returns a collection of instances of the class with the specified display name among the instances in the ownership relationship. Returns an empty collection if no such instance exists.

argument

NameTypeDescription
classDisplayNamestringClass display name
If null or an empty string is specified, the return value of this method will be an empty collection.
recursiveboolRecursively search for ownership
The default value is False. If False is specified, it is applicable from the instance directly owned by this instance.
If True is specified, it is applicable from the instance that recursively searched for the ownership relationship based on this instance. Search for an element.

Return value

  • IModelCollection