EnumerableToDispatchMarshaler.CleanUpManagedData Method (Object)

 

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

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

public virtual void CleanUpManagedData(
	object pManagedObj
)

Parameters

pManagedObj
Type: System.Object

The managed object to be destroyed.

The CLR calls this method to clean up managed data allocated in the MarshalNativeToManaged method.

.NET Framework
Available since 1.1
Return to top
Show: