O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.ObjectSystem.ValueTypeInterfaceMapping

Returned By

System.Type.GetInterfaceMap()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required