Export (0) Print
Expand All

EnumerableToDispatchMarshaler.CleanUpNativeData Method

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

Namespace:  System.Runtime.InteropServices.CustomMarshalers
Assembly:  CustomMarshalers (in CustomMarshalers.dll)

public virtual void CleanUpNativeData(
	IntPtr pNativeData
)

Parameters

pNativeData
Type: System.IntPtr

A pointer to the unmanaged data to be destroyed.

Implements

ICustomMarshaler.CleanUpNativeData(IntPtr)

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft