다음을 통해 공유


ExportBuilder.AsContractType 메서드

정의

오버로드

AsContractType(Type)

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

AsContractType<T>()

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

AsContractType(Type)

Source:
ExportBuilder.cs
Source:
ExportBuilder.cs
Source:
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

사용할 계약 형식입니다.

반환

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

예외

type이(가) null인 경우

적용 대상

AsContractType<T>()

Source:
ExportBuilder.cs
Source:
ExportBuilder.cs
Source:
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

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

반환

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

적용 대상