DispatchWrapper

DispatchWrapper

System.Runtime.InteropServices (mscorlib.dll)sealed class

By default, objects are passed to unmanaged methods as the VT_UNKNOWN type. This wrapper is used to send an object as type VT_DISPATCH.

public sealed class DispatchWrapper {
// Public Constructors
   public DispatchWrapper(object obj);
// Public Instance Properties
   public object WrappedObject{get; }
}


    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System