RegistrationBuilder.ForTypesDerivedFrom Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ForTypesDerivedFrom(Type) |
Gets an object that represents a rule applicable to all types that implement the specified type, but not applicable to the specified type. |
ForTypesDerivedFrom<T>() |
Gets a strongly typed object that represents a rule applicable to all types that implement the specified type, but not applicable to the specified type. |
ForTypesDerivedFrom(Type)
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
Gets an object that represents a rule applicable to all types that implement the specified type, but not applicable to the specified type.
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.PartBuilder
Public Function ForTypesDerivedFrom (type As Type) As PartBuilder
Parameters
- type
- Type
The type.
Returns
An object that represents the rule.
Applies to
ForTypesDerivedFrom<T>()
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
Gets a strongly typed object that represents a rule applicable to all types that implement the specified type, but not applicable to the specified type.
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)
Type Parameters
- T
The type.
Returns
A strongly typed object that represents the rule.