RegistrationBuilder.ForTypesDerivedFrom Metódus

Definíció

Túlterhelések

Name Description
ForTypesDerivedFrom(Type)

Olyan objektumot kap, amely egy olyan szabályt jelöl, amely a megadott típust megvalósító összes típusra érvényes, de a megadott típusra nem alkalmazható.

ForTypesDerivedFrom<T>()

Egy erősen gépelt objektumot kap, amely egy olyan szabályt jelöl, amely a megadott típust megvalósító összes típusra érvényes, de a megadott típusra nem alkalmazható.

ForTypesDerivedFrom(Type)

Forrás:
RegistrationBuilder.cs
Forrás:
RegistrationBuilder.cs
Forrás:
RegistrationBuilder.cs
Forrás:
RegistrationBuilder.cs

Olyan objektumot kap, amely egy olyan szabályt jelöl, amely a megadott típust megvalósító összes típusra érvényes, de a megadott típusra nem alkalmazható.

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

Paraméterek

type
Type

A típus.

Válaszok

A szabályt jelképező objektum.

A következőre érvényes:

ForTypesDerivedFrom<T>()

Forrás:
RegistrationBuilder.cs
Forrás:
RegistrationBuilder.cs
Forrás:
RegistrationBuilder.cs
Forrás:
RegistrationBuilder.cs

Egy erősen gépelt objektumot kap, amely egy olyan szabályt jelöl, amely a megadott típust megvalósító összes típusra érvényes, de a megadott típusra nem alkalmazható.

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ípusparaméterek

T

A típus.

Válaszok

Egy erősen beírt objektum, amely a szabályt jelöli.

A következőre érvényes: