TypeToTypeInfoMarshaler.CleanUpManagedData(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.