ExportProvider.GetExportedValues 메서드

정의

하나 이상의 내보낸 개체를 가져옵니다.

오버로드

GetExportedValues<T>(String)

지정된 계약 이름을 갖는 내보낸 개체를 모두 가져옵니다.

GetExportedValues<T>()

지정된 형식 매개 변수에서 파생된 계약 이름을 갖는 내보낸 개체를 모두 가져옵니다.

GetExportedValues<T>(String)

Source:
ExportProvider.GetExportOverrides.cs
Source:
ExportProvider.GetExportOverrides.cs
Source:
ExportProvider.GetExportOverrides.cs

지정된 계약 이름을 갖는 내보낸 개체를 모두 가져옵니다.

public:
generic <typename T>
 System::Collections::Generic::IEnumerable<T> ^ GetExportedValues(System::String ^ contractName);
public System.Collections.Generic.IEnumerable<T> GetExportedValues<T> (string contractName);
public System.Collections.Generic.IEnumerable<T> GetExportedValues<T> (string? contractName);
member this.GetExportedValues : string -> seq<'T>
Public Function GetExportedValues(Of T) (contractName As String) As IEnumerable(Of T)

형식 매개 변수

T

반환할 내보낸 개체의 형식입니다.

매개 변수

contractName
String

반환할 내보낸 개체의 계약 이름이거나, 기본 계약 이름을 사용할 경우 null이거나 빈 문자열("")입니다.

반환

지정된 계약 이름을 갖는 내보낸 개체(있는 경우)이거나, 비어 있는 Collection<T> 개체입니다.

예외

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

내보낸 내부 값 중 하나 이상을 T로 캐스팅할 수 없습니다.

컴퍼지션 중 오류가 발생한 경우. Errors에 발생한 오류의 컬렉션이 포함된 경우

설명

기본 계약 이름을 호출의 결과 GetContractName 메서드를 T입니다.

계약 이름을 사용 하 여 비교를 Ordinal 대/소문자 구분, 비 언어적 비교를 수행 하는 속성입니다.

적용 대상

GetExportedValues<T>()

Source:
ExportProvider.GetExportOverrides.cs
Source:
ExportProvider.GetExportOverrides.cs
Source:
ExportProvider.GetExportOverrides.cs

지정된 형식 매개 변수에서 파생된 계약 이름을 갖는 내보낸 개체를 모두 가져옵니다.

public:
generic <typename T>
 System::Collections::Generic::IEnumerable<T> ^ GetExportedValues();
public System.Collections.Generic.IEnumerable<T> GetExportedValues<T> ();
member this.GetExportedValues : unit -> seq<'T>
Public Function GetExportedValues(Of T) () As IEnumerable(Of T)

형식 매개 변수

T

반환할 내보낸 개체의 형식입니다. 계약 이름은 이 형식 매개 변수에서도 파생됩니다.

반환

지정된 형식 매개 변수에서 파생된 계약 이름을 갖는 내보낸 개체(있는 경우)이거나, 비어 있는 Collection<T> 개체입니다.

예외

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

내보낸 내부 개체 중 하나 이상을 T로 캐스팅할 수 없습니다.

컴퍼지션 중 오류가 발생한 경우. Errors에 발생한 오류의 컬렉션이 포함된 경우

설명

계약 이름은 호출의 결과 GetContractName 메서드를 T입니다.

계약 이름을 사용 하 여 비교를 Ordinal 대/소문자 구분, 비 언어적 비교를 수행 하는 속성입니다.

적용 대상