ImportBuilder.AsContractType メソッド

定義

オーバーロード

名前 説明
AsContractType(Type)

インポートで指定されたコントラクト型を使用することを指定します。

AsContractType<T>()

インポートで指定されたコントラクト型を使用することを指定します。

AsContractType(Type)

ソース:
ImportBuilder.cs
ソース:
ImportBuilder.cs
ソース:
ImportBuilder.cs
ソース:
ImportBuilder.cs

インポートで指定されたコントラクト型を使用することを指定します。

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

パラメーター

type
Type

使用するコントラクト型。

返品

チェーンを許可する現在のオブジェクト。

例外

typenullです。

適用対象

AsContractType<T>()

ソース:
ImportBuilder.cs
ソース:
ImportBuilder.cs
ソース:
ImportBuilder.cs
ソース:
ImportBuilder.cs

インポートで指定されたコントラクト型を使用することを指定します。

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

型パラメーター

T

使用するコントラクトの種類。

返品

チェーンを許可する現在のオブジェクト。

適用対象