ApplicationCatalog.GetExports(ImportDefinition) 메서드

정의

지정된 가져오기 정의로 표현된 제약 조건과 일치하는 내보내기 정의를 가져옵니다.

public:
 override System::Collections::Generic::IEnumerable<Tuple<System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^, System::ComponentModel::Composition::Primitives::ExportDefinition ^> ^> ^ GetExports(System::ComponentModel::Composition::Primitives::ImportDefinition ^ definition);
public override System.Collections.Generic.IEnumerable<Tuple<System.ComponentModel.Composition.Primitives.ComposablePartDefinition,System.ComponentModel.Composition.Primitives.ExportDefinition>> GetExports(System.ComponentModel.Composition.Primitives.ImportDefinition definition);
override this.GetExports : System.ComponentModel.Composition.Primitives.ImportDefinition -> seq<System.ComponentModel.Composition.Primitives.ComposablePartDefinition * System.ComponentModel.Composition.Primitives.ExportDefinition>
Public Overrides Function GetExports (definition As ImportDefinition) As IEnumerable(Of Tuple(Of ComposablePartDefinition, ExportDefinition))

매개 변수

definition
ImportDefinition

반환할 개체의 ExportDefinition 조건입니다.

반품

지정된 제약 조건과 일치하는 개체 및 관련 ComposablePartDefinition 개체를 포함하는 ExportDefinition 개체의 컬렉션입니다.

예외

개체가 DirectoryCatalog 삭제되었습니다.

definitionnull입니다.

적용 대상