次の方法で共有


ICustomMarshaler.MarshalNativeToManaged メソッド

アンマネージ データをマネージ データに変換します。

Function MarshalNativeToManaged( _
   ByVal pNativeData As IntPtr _) As Object
[C#]
object MarshalNativeToManaged(
   IntPtrpNativeData);
[C++]
Object* MarshalNativeToManaged(
   IntPtrpNativeData);
[JScript]
function MarshalNativeToManaged(
   pNativeData : IntPtr) : Object;

パラメータ

  • pNativeData
    ラップするアンマネージ データを指すポインタ。

戻り値

COM データのマネージ ビューを返します。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

ICustomMarshaler インターフェイス | ICustomMarshaler メンバ | System.Runtime.InteropServices 名前空間