Skip to main content

IModel.FindOwnerByClass(IClass) Method

Namespace: NextDesign.Core

Description

Gets the first owner instance of the specified class that holds this instance.

Traces the instances that own this instance toward the parent and returns the first instance of the specified class found.
If no matching instance is found even after searching up to the top-level parent element, returns null.

Arguments

NameTypeDescription
targetClassIClassClass

Return Value