ImportBuilder.AsContractType 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| Name | Description |
|---|---|
| AsContractType(Type) |
가져오기에서 지정된 계약 유형을 사용하도록 지정합니다. |
| AsContractType<T>() |
가져오기에서 지정된 계약 유형을 사용하도록 지정합니다. |
AsContractType(Type)
가져오기에서 지정된 계약 유형을 사용하도록 지정합니다.
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
사용할 계약 유형입니다.
반품
체인을 허용하는 현재 개체입니다.
예외
type은 null입니다.
적용 대상
AsContractType<T>()
가져오기에서 지정된 계약 유형을 사용하도록 지정합니다.
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
사용할 계약의 형식입니다.
반품
체인을 허용하는 현재 개체입니다.