ExpandoToDispatchExMarshaler.CleanUpManagedData(Object) 方法

定义

不再需要时执行必要的托管数据的清除。

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)

参数

pManagedObj
Object

要销毁的托管对象。

实现

注解

CLR 调用此方法以清理方法中 MarshalManagedToNative 分配的托管数据。

适用于