共用方式為


EnumerableToDispatchMarshaler.CleanUpNativeData(IntPtr) 方法

定義

針對不需要的 Unmanaged 資料執行必要的清除。

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

要終結的 Unmanaged 資料指標。

實作

備註

CLR 會呼叫這個方法,以清除 方法中 MarshalManagedToNative 配置的 Unmanaged 數據。

適用於