ConventionBuilder.ForType メソッド

定義

オーバーロード

ForType(Type)

指定した型に適用される規則を作成します。

ForType<T>()

指定したジェネリック型に適用される規則を作成します。

ForType(Type)

指定した型に適用される規則を作成します。

public:
 System::Composition::Convention::PartConventionBuilder ^ ForType(Type ^ type);
public System.Composition.Convention.PartConventionBuilder ForType (Type type);
member this.ForType : Type -> System.Composition.Convention.PartConventionBuilder
Public Function ForType (type As Type) As PartConventionBuilder

パラメーター

type
Type

型。

戻り値

PartConventionBuilder

規則を詳細に構成するために使用できるオブジェクト。

適用対象

ForType<T>()

指定したジェネリック型に適用される規則を作成します。

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

型パラメーター

T

汎用型。

戻り値

PartConventionBuilder<T>

規則を詳細に構成するために使用できるオブジェクト。

適用対象