ExportBuilder.AsContractType 메서드

정의

오버로드

Name Description
AsContractType(Type)

내보내기가 지정된 계약 유형을 사용하도록 지정합니다.

AsContractType<T>()

내보내기가 지정된 계약 유형을 사용하도록 지정합니다.

AsContractType(Type)

내보내기가 지정된 계약 유형을 사용하도록 지정합니다.

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>()

내보내기가 지정된 계약 유형을 사용하도록 지정합니다.

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

사용할 계약의 형식입니다.

반품

체인을 허용하는 현재 개체입니다.

적용 대상