IModel.FindChildrenByClass method
Namespace: NextDesign.Core
Description
Finds instances of the specified class that are owned by this instance.
This method evaluates IContextOption.PlModelAccessMode.
Returns a collection of owned instances of the specified class.
An empty collection will be returned if the class specified in the class name is not found.
It also returns an empty collection if no such instance exists.
argument
Name | Type | Description |
---|---|---|
className | string | Class Name Specify the name or fully qualified name of the class. If null or an empty string is specified, the return value of this method will be an empty collection. |
recursive | bool | Whether to search for ownership recursively The default is False. If False is specified, the corresponding Search for elements. |
Whether to treat the | fuzzy | bool |
Return value
- IModelCollection