Share via


AttributedModelServices.Exports 메서드

정의

오버로드

Exports(ComposablePartDefinition, Type)

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

Exports<T>(ComposablePartDefinition)

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

Exports(ComposablePartDefinition, Type)

Source:
AttributedModelServices.cs
Source:
AttributedModelServices.cs
Source:
AttributedModelServices.cs

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

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

계약 형식입니다.

반환

partcontractType과 일치하는 내보내기 정의가 들어 있으면 true이고, 그렇지 않으면 false입니다.

적용 대상

Exports<T>(ComposablePartDefinition)

Source:
AttributedModelServices.cs
Source:
AttributedModelServices.cs
Source:
AttributedModelServices.cs

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

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

검색할 파트입니다.

반환

partT 형식의 내보내기 정의가 들어 있으면 true이고, 그렇지 않으면 false입니다.

적용 대상