ExpandoToDispatchExMarshaler.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);

Parameters

pNativeData
IntPtr

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

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1