﻿<?xml version="1.0" encoding="utf-8"?><Type Name="IInheritanceService" FullName="System.ComponentModel.Design.IInheritanceService"><TypeSignature Language="C#" Maintainer="auto" Value="public interface IInheritanceService" /><TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IInheritanceService" /><AssemblyInfo><AssemblyName>System</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.3300.0</AssemblyVersion><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Interfaces /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This interface provides methods that can be used to identify components of a component that are inherited from a base class.</para><para>To determine what components are inherited, call the <see cref="M:System.ComponentModel.Design.IInheritanceService.AddInheritedComponents(System.ComponentModel.IComponent,System.ComponentModel.IContainer)" /> method and pass the component to search and an <see cref="T:System.ComponentModel.IContainer" /> to store references to the identified components. Call the <see cref="M:System.ComponentModel.Design.IInheritanceService.GetInheritanceAttribute(System.ComponentModel.IComponent)" /> method to retrieve an <see cref="T:System.ComponentModel.InheritanceAttribute" /> for a component that has been identified by the <see cref="M:System.ComponentModel.Design.IInheritanceService.AddInheritedComponents(System.ComponentModel.IComponent,System.ComponentModel.IContainer)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Provides methods for identifying the components of a component.</para></summary></Docs><Members><Member MemberName="AddInheritedComponents"><MemberSignature Language="C#" Value="public void AddInheritedComponents (System.ComponentModel.IComponent component, System.ComponentModel.IContainer container);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AddInheritedComponents(class System.ComponentModel.IComponent component, class System.ComponentModel.IContainer container) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="component" Type="System.ComponentModel.IComponent" /><Parameter Name="container" Type="System.ComponentModel.IContainer" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method searches the specified component for any fields that implement the <see cref="T:System.ComponentModel.IComponent" />, adds each to the specified container, and stores an <see cref="T:System.ComponentModel.InheritanceAttribute" /> for each. The <see cref="T:System.ComponentModel.InheritanceAttribute" /> for a component indicates whether the field is inherited from a base class and can be retrieved using the <see cref="M:System.ComponentModel.Design.IInheritanceService.GetInheritanceAttribute(System.ComponentModel.IComponent)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>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.</para></summary><param name="component"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.ComponentModel.IComponent" /> to search. Searching begins with this component. </param><param name="container"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.ComponentModel.IContainer" /> to add components to. </param></Docs></Member><Member MemberName="GetInheritanceAttribute"><MemberSignature Language="C#" Value="public System.ComponentModel.InheritanceAttribute GetInheritanceAttribute (System.ComponentModel.IComponent component);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.ComponentModel.InheritanceAttribute GetInheritanceAttribute(class System.ComponentModel.IComponent component) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ComponentModel.InheritanceAttribute</ReturnType></ReturnValue><Parameters><Parameter Name="component" Type="System.ComponentModel.IComponent" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>If the component has been profiled by the <see cref="M:System.ComponentModel.Design.IInheritanceService.AddInheritedComponents(System.ComponentModel.IComponent,System.ComponentModel.IContainer)" /> method, this method returns the value <see cref="F:System.ComponentModel.InheritanceAttribute.NotInherited" />. Otherwise, it returns the inheritance attribute for this component.</para><para>You should call <see cref="M:System.ComponentModel.Design.IInheritanceService.AddInheritedComponents(System.ComponentModel.IComponent,System.ComponentModel.IContainer)" /> on the specified component or a parent of the specified component before attempting to obtain an <see cref="T:System.ComponentModel.InheritanceAttribute" /> that reflects the inheritance level of the specified component.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the inheritance attribute for the specified component.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An instance of <see cref="T:System.ComponentModel.InheritanceAttribute" /> that describes the level of inheritance of the specified component.</para></returns><param name="component"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.ComponentModel.IComponent" /> for which to retrieve the inheritance attribute. </param></Docs></Member></Members></Type>