RuntimeReflectionExtensions.GetRuntimeInterfaceMap(TypeInfo, Type) 메서드

정의

지정된 형식과 지정된 인터페이스에 대한 인터페이스 매핑을 반환합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Reflection::InterfaceMapping GetRuntimeInterfaceMap(System::Reflection::TypeInfo ^ typeInfo, Type ^ interfaceType);
public static System.Reflection.InterfaceMapping GetRuntimeInterfaceMap (this System.Reflection.TypeInfo typeInfo, Type interfaceType);
static member GetRuntimeInterfaceMap : System.Reflection.TypeInfo * Type -> System.Reflection.InterfaceMapping
<Extension()>
Public Function GetRuntimeInterfaceMap (typeInfo As TypeInfo, interfaceType As Type) As InterfaceMapping

매개 변수

typeInfo
TypeInfo

매핑 대상을 검색하는 형식입니다.

interfaceType
Type

매핑을 검색할 인터페이스입니다.

반환

지정된 인터페이스 및 형식의 인터페이스 매핑을 나타내는 개체입니다.

예외

typeInfonull입니다.

또는

interfaceType이(가) null인 경우

interfaceTypetypeInfo에 의해 구현되지 않았습니다.

또는

interfaceType은 인터페이스를 참조하지 않습니다.

또는

typeInfo 또는 interfaceType은 개방형 제네릭 형식입니다.

또는

interfaceType은 제네릭 인터페이스이고 typeInfo은 배열 형식입니다.

typeInfo는 제네릭 형식 매개 변수를 나타냅니다.

typeInfoCreateType() 메서드가 아직 호출되지 않은 TypeBuilder 인스턴스입니다.

또는

호출된 메서드가 기본 클래스에서 지원되지 않습니다. 파생 클래스에서 구현을 제공해야 합니다.

적용 대상

추가 정보