This documentation is archived and is not being maintained.
Custom Marshaling
.NET Framework 3.5
A custom marshaler enables you to precisely control the way in which a managed type is exposed to COM or an unmanaged type is exposed to the .NET Framework. You use a custom marshaler instead of the interop marshaler, which the common language runtime provides by default.
Show: