次の方法で共有


RegistrationBuilder.ForType メソッド

定義

オーバーロード

ForType(Type)

指定した型に適用される規則を表すオブジェクトを取得します。

ForType<T>()

指定した型に適用される規則を表す厳密に型指定されたオブジェクトを取得します。

ForType(Type)

ソース:
RegistrationBuilder.cs
ソース:
RegistrationBuilder.cs
ソース:
RegistrationBuilder.cs

指定した型に適用される規則を表すオブジェクトを取得します。

public:
 System::ComponentModel::Composition::Registration::PartBuilder ^ ForType(Type ^ type);
public System.ComponentModel.Composition.Registration.PartBuilder ForType (Type type);
member this.ForType : Type -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ForType (type As Type) As PartBuilder

パラメーター

type
Type

型。

戻り値

規則を表すオブジェクト。

適用対象

ForType<T>()

ソース:
RegistrationBuilder.cs
ソース:
RegistrationBuilder.cs
ソース:
RegistrationBuilder.cs

指定した型に適用される規則を表す厳密に型指定されたオブジェクトを取得します。

public:
generic <typename T>
 System::ComponentModel::Composition::Registration::PartBuilder<T> ^ ForType();
public System.ComponentModel.Composition.Registration.PartBuilder<T> ForType<T> ();
member this.ForType : unit -> System.ComponentModel.Composition.Registration.PartBuilder<'T>
Public Function ForType(Of T) () As PartBuilder(Of T)

型パラメーター

T

型。

戻り値

規則を表す厳密に型指定されたオブジェクト。

適用対象