ConventionBuilder.ForType メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 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
型。
戻り値
規則を詳細に構成するために使用できるオブジェクト。
適用対象
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
汎用型。
戻り値
規則を詳細に構成するために使用できるオブジェクト。