Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface System.​ComponentModel.​Design.​IInheritanceService

Assembly: System.ComponentModel.TypeConverter

Provides methods for identifying the components of a component.

Methods

void
AddInheritedComponents​(IComponent component, IContainer container)
Searches the specified component for fields that implement the <see cref="T:System.ComponentModel.IComponent" /> interface and adds each to the specified container, storing the inheritance level of each which can be retrieved using the <see cref="M:System.ComponentModel.Design.IInheritanceService.GetInheritanceAttribute(System.ComponentModel.IComponent)" /> method.
component The <see cref="T:System.ComponentModel.IComponent" /> to search. Searching begins with this component.
container The <see cref="T:System.ComponentModel.IContainer" /> to add components to.
GetInheritanceAttribute​(IComponent component)
Gets the inheritance attribute for the specified component.
Returns An instance of <see cref="T:System.ComponentModel.InheritanceAttribute" /> that describes the level of inheritance of the specified component.
component The <see cref="T:System.ComponentModel.IComponent" /> for which to retrieve the inheritance attribute.