다음을 통해 공유


FilteredCatalog.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

일치시킬 가져오기입니다.

반환

일치하는 부분의 컬렉션입니다.

예외

definition이(가) null인 경우

설명

상속자에 대한 참고 사항

이 속성의 재정의자는 에서 정의한 definition조건과 일치하지 않으면 ExportDefinition 를 반환 null 하지 않아야 합니다. 대신 빈 IEnumerable<T>를 반환합니다.

적용 대상