Freigeben über


Type.resolveInheritance Method

Copies members from the base class to the prototype associated with the derived class, and continues this process up the inheritance chain. This enables you to reflect on the inherited members of a derived type.

typeVarInstance.resolveInheritance();

Remarks

Use the resolveInheritance method to reflect on the inherited members of a derived type. You invoke this method from the type that you want to reflect on. The resolveInheritance method copies members from the base class to the prototype associated with the derived class, and continues this process up the inheritance chain. If the derived type overrides a base type member, the base type member is not copied to the derived type's prototype. After invoking a derived type's resolveInheritance method, you can examine the members of the derived type to discover all members, which includes inherited members.

See Also

Reference

Type Class

Other Resources

Language Reference