TypeToTypeInfoMarshaler.CleanUpNativeData(IntPtr) Method

Definition

Performs necessary cleanup of the unmanaged data when it is no longer needed.

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)

Parameters

pNativeData
IntPtr

nativeint

A pointer to the unmanaged data to be destroyed.

Implements

Remarks

The CLR calls this method to clean up the unmanaged data allocated in the MarshalManagedToNative method.

Applies to