Compartilhar via


Marshaling Support 

Interop marshaling, performed by the common language runtime, controls how data is passed in method arguments and return values between managed and unmanaged memory.

The .NET Compact Framework version 2.0 supports the MarshalAsAttribute.

Note that StringBuilder is an exception to the rule that specifies reference types passed by value are passed as In parameters by default. It is always passed as In/Out.

In This Section

  • Marshaling Overview
    Describes marshaling capabilities in the .NET Compact Framework and how to log interop marshalling on the device.
  • Type Support
    Lists the managed and unmanaged types that can be marshaled with the .NET Compact Framework.