ICustomMarshaler.MarshalNativeToManaged(IntPtr) 方法

定义

将非托管数据转换为托管数据。

public:
 System::Object ^ MarshalNativeToManaged(IntPtr pNativeData);
public object MarshalNativeToManaged (IntPtr pNativeData);
abstract member MarshalNativeToManaged : nativeint -> obj
Public Function MarshalNativeToManaged (pNativeData As IntPtr) As Object

参数

pNativeData
IntPtr

nativeint

指向要包装的非托管数据的指针。

返回

表示 COM 数据的托管视图的对象。

适用于