IModel.FindOwnerByClass(IClass) Method
Namespace: NextDesign.Core
Description
Retrieves the first owning instance of the specified class that holds this instance.
Traces the instances that own this instance in the parent direction and returns the first instance of the specified class found.
Returns null if no matching instance is found after searching up to the top-level parent element.
Argument
| Name | Type | Description |
|---|---|---|
| targetClass | IClass | Class |