InheritanceService 类 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供了一组用于标识继承的组件的方法。
public ref class InheritanceService : IDisposable, System::ComponentModel::Design::IInheritanceService
	public class InheritanceService : IDisposable, System.ComponentModel.Design.IInheritanceService
	type InheritanceService = class
    interface IInheritanceService
    interface IDisposable
	Public Class InheritanceService
Implements IDisposable, IInheritanceService
		- 继承
 - 
				InheritanceService
 
- 实现
 
注解
InheritanceService可用于查找继承的组件、选择要忽略的组件,以及检索服务跟踪的每个继承类的继承属性。
构造函数
| InheritanceService() | 
		 初始化 InheritanceService 类的新实例。  | 
        	
方法
| AddInheritedComponents(IComponent, IContainer) | 
		 将由指定组件继承的组件添加到 InheritanceService。  | 
        	
| AddInheritedComponents(Type, IComponent, IContainer) | 
		 将由指定组件继承的指定类型的组件添加到 InheritanceService 中。  | 
        	
| Dispose() | 
		 释放由 InheritanceService 使用的所有资源。  | 
        	
| Dispose(Boolean) | 
		 释放由 InheritanceService 占用的非托管资源,还可以另外再释放托管资源。  | 
        	
| Equals(Object) | 
		 确定指定对象是否等于当前对象。 (继承自 Object) | 
        	
| GetHashCode() | 
		 作为默认哈希函数。 (继承自 Object) | 
        	
| GetInheritanceAttribute(IComponent) | 
		 获取指定组件的继承特性。  | 
        	
| GetType() | 
		 获取当前实例的 Type。 (继承自 Object) | 
        	
| IgnoreInheritedMember(MemberInfo, IComponent) | 
		 指示是否忽略指定的成员。  | 
        	
| MemberwiseClone() | 
		 创建当前 Object 的浅表副本。 (继承自 Object) | 
        	
| ToString() | 
		 返回表示当前对象的字符串。 (继承自 Object) |