ExportBuilder.AsContractType メソッド

定義

オーバーロード

名前 説明
AsContractType(Type)

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

AsContractType<T>()

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

AsContractType(Type)

ソース:
ExportBuilder.cs
ソース:
ExportBuilder.cs
ソース:
ExportBuilder.cs
ソース:
ExportBuilder.cs

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

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

パラメーター

type
Type

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

返品

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

例外

typenullです。

適用対象

AsContractType<T>()

ソース:
ExportBuilder.cs
ソース:
ExportBuilder.cs
ソース:
ExportBuilder.cs
ソース:
ExportBuilder.cs

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

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

型パラメーター

T

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

返品

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

適用対象