CompositionContext.GetExports 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
GetExports(Type) |
지정된 형식과 일치하는 모든 내보내기의 컬렉션을 검색합니다. |
GetExports(Type, String) |
지정된 계약 이름 및 형식과 일치하는 내보내기를 모두 검색합니다. |
GetExports<TExport>() |
지정된 제네릭 형식 매개 변수와 일치하는 내보내기를 모두 검색합니다. |
GetExports<TExport>(String) |
지정된 제네릭 형식 매개 변수 및 계약 이름과 일치하는 내보내기를 모두 검색합니다. |
GetExports(Type)
- Source:
- CompositionContext.cs
- Source:
- CompositionContext.cs
- Source:
- CompositionContext.cs
지정된 형식과 일치하는 모든 내보내기의 컬렉션을 검색합니다.
public:
System::Collections::Generic::IEnumerable<System::Object ^> ^ GetExports(Type ^ exportType);
public System.Collections.Generic.IEnumerable<object> GetExports (Type exportType);
member this.GetExports : Type -> seq<obj>
Public Function GetExports (exportType As Type) As IEnumerable(Of Object)
매개 변수
- exportType
- Type
일치시킬 형식입니다.
반환
내보낸 값의 컬렉션입니다.
예외
exportType
의 내보내기가 없습니다.
적용 대상
GetExports(Type, String)
- Source:
- CompositionContext.cs
- Source:
- CompositionContext.cs
- Source:
- CompositionContext.cs
지정된 계약 이름 및 형식과 일치하는 내보내기를 모두 검색합니다.
public:
System::Collections::Generic::IEnumerable<System::Object ^> ^ GetExports(Type ^ exportType, System::String ^ contractName);
public System.Collections.Generic.IEnumerable<object> GetExports (Type exportType, string contractName);
member this.GetExports : Type * string -> seq<obj>
Public Function GetExports (exportType As Type, contractName As String) As IEnumerable(Of Object)
매개 변수
- exportType
- Type
일치시킬 형식입니다.
- contractName
- String
일치시킬 이름입니다.
반환
내보낸 값의 컬렉션입니다.
예외
exportType
의 내보내기가 없습니다.
적용 대상
GetExports<TExport>()
- Source:
- CompositionContext.cs
- Source:
- CompositionContext.cs
- Source:
- CompositionContext.cs
지정된 제네릭 형식 매개 변수와 일치하는 내보내기를 모두 검색합니다.
public:
generic <typename TExport>
System::Collections::Generic::IEnumerable<TExport> ^ GetExports();
public System.Collections.Generic.IEnumerable<TExport> GetExports<TExport> ();
member this.GetExports : unit -> seq<'Export>
Public Function GetExports(Of TExport) () As IEnumerable(Of TExport)
형식 매개 변수
- TExport
일치시킬 형식입니다.
반환
내보낸 값의 컬렉션입니다.
예외
TExport
의 내보내기가 없습니다.
적용 대상
GetExports<TExport>(String)
- Source:
- CompositionContext.cs
- Source:
- CompositionContext.cs
- Source:
- CompositionContext.cs
지정된 제네릭 형식 매개 변수 및 계약 이름과 일치하는 내보내기를 모두 검색합니다.
public:
generic <typename TExport>
System::Collections::Generic::IEnumerable<TExport> ^ GetExports(System::String ^ contractName);
public System.Collections.Generic.IEnumerable<TExport> GetExports<TExport> (string contractName);
member this.GetExports : string -> seq<'Export>
Public Function GetExports(Of TExport) (contractName As String) As IEnumerable(Of TExport)
형식 매개 변수
- TExport
일치시킬 형식입니다.
매개 변수
- contractName
- String
일치시킬 이름입니다.
반환
내보낸 값의 컬렉션입니다.
예외
TExport
및 contractName
의 내보내기가 없습니다.
적용 대상
.NET