Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Type.GetInterfaceMap Method

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.