Edit

Share via


TypeToTypeInfoMarshaler.CleanUpManagedData(Object) Method

Definition

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

public:
 override void CleanUpManagedData(System::Object ^ pManagedObj);
public:
 virtual void CleanUpManagedData(System::Object ^ pManagedObj);
public override void CleanUpManagedData (object pManagedObj);
public virtual void CleanUpManagedData (object pManagedObj);
abstract member CleanUpManagedData : obj -> unit
override this.CleanUpManagedData : obj -> unit
Public Overrides Sub CleanUpManagedData (pManagedObj As Object)
Public Overridable Sub CleanUpManagedData (pManagedObj As Object)

Parameters

pManagedObj
Object

The managed object to be destroyed.

Implements

Remarks

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

Applies to