netcoreapp2.2
namespace System.Runtime.InteropServices
{
    public static class PInvokeMarshal
    {
        [SecurityCritical]
        public static void StructureToPtr<T>(T structure, IntPtr ptr, bool fDeleteOld);
    }
}
.NET
5.06.07.08.09.010.011.0
.NET Core
1.01.12.02.12.23.03.1
.NET Framework
4.64.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard
1.31.41.51.62.02.1
Information specific to netcoreapp2.2
Assembly

System.Runtime.InteropServices.PInvoke , Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

Your project needs a package reference to System.Runtime.InteropServices.PInvoke.

Package System.Runtime.InteropServices.PInvoke (4.0.0-rc2-24027) netstandard1.3
Preview This API is contained in a prerelease package.
Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API