TypeBuilder.GetInterfaceMap(Type) Método

Definición

Devuelve una asignación de interfaz para la interfaz solicitada.

public:
 override System::Reflection::InterfaceMapping GetInterfaceMap(Type ^ interfaceType);
public override System.Reflection.InterfaceMapping GetInterfaceMap(Type interfaceType);
[System.Runtime.InteropServices.ComVisible(true)]
public override System.Reflection.InterfaceMapping GetInterfaceMap(Type interfaceType);
override this.GetInterfaceMap : Type -> System.Reflection.InterfaceMapping
[<System.Runtime.InteropServices.ComVisible(true)>]
override this.GetInterfaceMap : Type -> System.Reflection.InterfaceMapping
Public Overrides Function GetInterfaceMap (interfaceType As Type) As InterfaceMapping

Parámetros

interfaceType
Type

Type de la interfaz para la que se va a recuperar la asignación.

Devoluciones

Devuelve la asignación de interfaz solicitada.

Atributos

Excepciones

Este método no se implementa para tipos incompletos.

Comentarios

Recupere el tipo mediante Type.GetType o Assembly.GetType y use la reflexión en el tipo recuperado.

Se aplica a