EnumerableToDispatchMarshaler.CleanUpNativeData Method (IntPtr)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

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

.NET Framework
Available since 1.1
Return to top
Show: