IModel.FindChildrenByClassDisplayName method

Namespace: NextDesign.Core

Description

Finds instances of the class with the specified display name that are in an ownership relationship with this instance. This method evaluates IContextOption.PlModelAccessMode.

Returns a collection of owned instances of the class with the specified display name. Returns an empty collection if no such instance exists.

argument

Name Type Description
classDisplayName string Display 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 Do recursive lookups of ownership?
Default is False. If
False is specified, the instance will be directly owned by this instance.If
True is specified, the instance will be recursively searched for ownership. Search

Return value

  • IModelCollection