Skip to main content

IModel.FindChildrenByTag method

Namespace: NextDesign.Core

Description

Gets the instance with the specified tag among the instances that are owned by this instance.
This method evaluates IContextOption.PlModelAccessMode.

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

argument

NameTypeDescription
tagstringModel tag name
If null or an empty string is specified, the return value of this method will be an empty collection.
valuestringThe string representation of the tag value
The default value is null.
If null or an empty string is specified, only the presence or absence of tags for the model is evaluated.
recursiveboolWhether to search for ownership recursively
The default is False.
If False is specified, the corresponding Search for elements.

Return value

  • IModelCollection