Name
InterfaceMapping
Synopsis
This value type allows you to retrieve information about
interfaces. To access the Type
for an
interface, use
InterfaceType
.
TargetType
contains the Type
of the implementing
class. Similarly,
InterfaceMethods
and
TargetMethods
return the methods of the interface and the implementing class
respectively.
public struct InterfaceMapping { // Public Instance Fields public field MethodInfo[] InterfaceMethods; public field Type InterfaceType; public field MethodInfo[] TargetMethods; public field Type TargetType; }
Hierarchy
System.Object→System.ValueType→InterfaceMapping
Returned By
System.Type.GetInterfaceMap()
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.