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 MethodInfo[ ] InterfaceMethods;
   public Type InterfaceType;
   public MethodInfo[ ] TargetMethods;
   public Type TargetType;
}

Hierarchy

System.Object System.ValueType InterfaceMapping

Returned By

System.Type.GetInterfaceMap( )

Get C# in a Nutshell, Second Edition 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.