Interoperates with the IDispatch interface.

See Also: IReflect Members


public interface IReflect


The System.Reflection.IReflect interface is used to interoperate with the IDispatch interface. System.Reflection.IReflect defines a subset of the Type reflection methods. Implementing this interface enables a type to customize its behavior when the object is being accessed from COM as an IDispatch object. The System.Runtime.InteropServices.CustomMarshalers.ExpandoToDispatchExMarshaler class can be used to marshal an object that implements System.Reflection.IReflect or System.Runtime.InteropServices.Expando.IExpando as a COM IDispatch object, and vice versa.


Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0,,