You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<summary>Provides a wide variety of members that support COM interop and platform invoke services. If you are unfamiliar with these services, see <see href="https://learn.microsoft.com/dotnet/framework/interop/index">Interoperating with Unmanaged Code</see>.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Members of this namespace provide several categories of functionality, as shown in the following table. Attributes control marshaling behavior, such as how to arrange structures or how to represent strings. The most important attributes are <xref:System.Runtime.InteropServices.DllImportAttribute>, which you use to define platform invoke methods for accessing unmanaged APIs, and <xref:System.Runtime.InteropServices.MarshalAsAttribute>, which you use to specify how data is marshaled between managed and unmanaged memory.