Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
int配列へのポインタであるint**引数を持つc++メソッドがあります。
どうすればC#にマーシャリングできますか?
このメソッドシグネチャからインスピレーションを得ようとすることができます。
void MyMethod([MarshalAs(UnmanagedType.LPArray, SizeConst=10)] int[] ar);
(配列の長さは10です)