RegistrationBuilder.ForTypesDerivedFrom 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| ForTypesDerivedFrom(Type) | 获取表示适用于实现指定类型的所有类型,但其不适用于指定类型的规则的对象。 | 
| ForTypesDerivedFrom<T>() | 获取表示适用于实现指定类型的所有类型,但其不适用于指定类型的规则的强类型对象。 | 
ForTypesDerivedFrom(Type)
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
获取表示适用于实现指定类型的所有类型,但其不适用于指定类型的规则的对象。
public:
 System::ComponentModel::Composition::Registration::PartBuilder ^ ForTypesDerivedFrom(Type ^ type);public System.ComponentModel.Composition.Registration.PartBuilder ForTypesDerivedFrom (Type type);member this.ForTypesDerivedFrom : Type -> System.ComponentModel.Composition.Registration.PartBuilderPublic Function ForTypesDerivedFrom (type As Type) As PartBuilder参数
- type
- Type
类型。
返回
表示规则的对象。
适用于
ForTypesDerivedFrom<T>()
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
获取表示适用于实现指定类型的所有类型,但其不适用于指定类型的规则的强类型对象。
public:
generic <typename T>
 System::ComponentModel::Composition::Registration::PartBuilder<T> ^ ForTypesDerivedFrom();public System.ComponentModel.Composition.Registration.PartBuilder<T> ForTypesDerivedFrom<T> ();member this.ForTypesDerivedFrom : unit -> System.ComponentModel.Composition.Registration.PartBuilder<'T>Public Function ForTypesDerivedFrom(Of T) () As PartBuilder(Of T)类型参数
- T
类型。
返回
表示该规则的强类型对象。