IInheritanceService 接口

提供了一组用于标识组件中所含组件的方法。

**命名空间:**System.ComponentModel.Design
**程序集:**System(在 system.dll 中)

语法

声明
Public Interface IInheritanceService
用法
Dim instance As IInheritanceService
public interface IInheritanceService
public interface class IInheritanceService
public interface IInheritanceService
public interface IInheritanceService

备注

此接口提供了一组方法,可用于标识组件中从基类继承的组件。

若要确定哪些组件是继承的,请调用 AddInheritedComponents 方法,并将要搜索的组件和一个用来存储已标识组件的引用的 IContainer 作为参数传递给该方法。调用 GetInheritanceAttribute 方法检索一个已经被 AddInheritedComponents 方法标识的组件的 InheritanceAttribute

平台

Windows 98、Windows 2000 SP4、Windows Millennium Edition、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0

请参见

参考

IInheritanceService 成员
System.ComponentModel.Design 命名空间
InheritanceAttribute 类