EnumerableToDispatchMarshaler.CleanUpNativeData(IntPtr) 方法

定义

不再需要时执行必要的非托管数据的清除。

public:
 override void CleanUpNativeData(IntPtr pNativeData);
public:
 virtual void CleanUpNativeData(IntPtr pNativeData);
public override void CleanUpNativeData (IntPtr pNativeData);
public virtual void CleanUpNativeData (IntPtr pNativeData);
abstract member CleanUpNativeData : nativeint -> unit
override this.CleanUpNativeData : nativeint -> unit
Public Overrides Sub CleanUpNativeData (pNativeData As IntPtr)
Public Overridable Sub CleanUpNativeData (pNativeData As IntPtr)

参数

pNativeData
IntPtr

nativeint

指向要销毁的非托管数据的指针。

实现

注解

CLR 调用此方法以清理在 方法中 MarshalManagedToNative 分配的非托管数据。

适用于