This documentation is archived and is not being maintained.
Type.GetInterfaceMap Method
.NET Framework 1.1
Returns an interface mapping for the specified interface type.
[Visual Basic] Public Overridable Function GetInterfaceMap( _ ByVal interfaceType As Type _ ) As InterfaceMapping [C#] public virtual InterfaceMapping GetInterfaceMap( Type interfaceType ); [C++] public: virtual InterfaceMapping GetInterfaceMap( Type* interfaceType ); [JScript] public function GetInterfaceMap( interfaceType : Type ) : InterfaceMapping;
Parameters
- interfaceType
- The Type of the interface of which to retrieve a mapping.
Return Value
An InterfaceMapping object representing the interface mapping for interfaceType.
Exceptions
| Exception Type | Condition |
|---|---|
| ArgumentException | The interfaceType parameter does not refer to an interface. |
| ArgumentNullException | interfaceType is a null reference (Nothing in Visual Basic). |
Remarks
The interface map denotes how an interface is mapped into the actual methods on a class that implements that interface.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
Type Class | Type Members | System Namespace | InterfaceMapping
Show: