AttributedModelServices.Exports 메서드

정의

오버로드

Name Description
Exports(ComposablePartDefinition, Type)

지정된 파트에 지정된 계약 유형과 일치하는 내보내기가 포함되어 있는지 여부를 나타내는 값을 반환합니다.

Exports<T>(ComposablePartDefinition)

지정된 파트에 지정된 계약 유형과 일치하는 내보내기가 포함되어 있는지 여부를 나타내는 값을 반환합니다.

Exports(ComposablePartDefinition, Type)

지정된 파트에 지정된 계약 유형과 일치하는 내보내기가 포함되어 있는지 여부를 나타내는 값을 반환합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static bool Exports(System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^ part, Type ^ contractType);
public static bool Exports(this System.ComponentModel.Composition.Primitives.ComposablePartDefinition part, Type contractType);
static member Exports : System.ComponentModel.Composition.Primitives.ComposablePartDefinition * Type -> bool
<Extension()>
Public Function Exports (part As ComposablePartDefinition, contractType As Type) As Boolean

매개 변수

part
ComposablePartDefinition

검색할 파트입니다.

contractType
Type

계약 유형입니다.

반품

일치하는 내보내기 정의가 포함되어 있으면 이고, 그렇지 않으면 .입니다.

적용 대상

Exports<T>(ComposablePartDefinition)

지정된 파트에 지정된 계약 유형과 일치하는 내보내기가 포함되어 있는지 여부를 나타내는 값을 반환합니다.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static bool Exports(System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^ part);
public static bool Exports<T>(this System.ComponentModel.Composition.Primitives.ComposablePartDefinition part);
static member Exports : System.ComponentModel.Composition.Primitives.ComposablePartDefinition -> bool
<Extension()>
Public Function Exports(Of T) (part As ComposablePartDefinition) As Boolean

형식 매개 변수

T

계약 유형입니다.

매개 변수

part
ComposablePartDefinition

검색할 파트입니다.

반품

형식의 내보내기 정의가 포함되어 있으면 />이고, 그렇지 않으면 .

적용 대상