Type.GetInterfaceMap 메서드
지정된 인터페이스 형식에 대한 인터페이스 매핑을 반환합니다.
네임스페이스: System
어셈블리: mscorlib(mscorlib.dll)
구문
‘선언
<ComVisibleAttribute(True)> _
Public Overridable Function GetInterfaceMap ( _
interfaceType As Type _
) As InterfaceMapping
‘사용 방법
Dim instance As Type
Dim interfaceType As Type
Dim returnValue As InterfaceMapping
returnValue = instance.GetInterfaceMap(interfaceType)
[ComVisibleAttribute(true)]
public virtual InterfaceMapping GetInterfaceMap (
Type interfaceType
)
[ComVisibleAttribute(true)]
public:
virtual InterfaceMapping GetInterfaceMap (
Type^ interfaceType
)
/** @attribute ComVisibleAttribute(true) */
public InterfaceMapping GetInterfaceMap (
Type interfaceType
)
ComVisibleAttribute(true)
public function GetInterfaceMap (
interfaceType : Type
) : InterfaceMapping
매개 변수
- interfaceType
매핑을 검색할 인터페이스의 Type입니다.
반환 값
interfaceType에 대한 인터페이스 매핑을 나타내는 InterfaceMapping 개체입니다.
예외
예외 형식 | 조건 |
---|---|
interfaceType 매개 변수가 인스턴스를 참조하지 않는 경우 |
|
interfaceType이 Null 참조(Visual Basic의 경우 Nothing)인 경우 |
|
현재 Type이 제네릭 형식 매개 변수를 나타내는 경우, 즉 IsGenericParameter가 true인 경우 |
설명
인터페이스 맵은 인터페이스와 해당 인터페이스를 구현하는 클래스의 실제 메서드가 매핑되는 방식을 나타냅니다.
현재 Type이 생성된 제네릭 형식을 나타내는 경우 형식 매개 변수는 이 메서드에서 반환하는 InterfaceMapping의 요소에서 적절한 형식 인수로 대체됩니다.
플랫폼
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.
버전 정보
.NET Framework
2.0, 1.1, 1.0에서 지원