ExpandoToDispatchExMarshaler.CleanUpNativeData(IntPtr) 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 unmanaged data when it is no longer needed.
public:
override void CleanUpNativeData(IntPtr pNativeData);
public:
virtual void CleanUpNativeData(IntPtr pNativeData);
public override void CleanUpNativeData (IntPtr pNativeData);
public virtual void CleanUpNativeData (IntPtr pNativeData);
abstract member CleanUpNativeData : nativeint -> unit
override this.CleanUpNativeData : nativeint -> unit
Public Overrides Sub CleanUpNativeData (pNativeData As IntPtr)
Public Overridable Sub CleanUpNativeData (pNativeData As IntPtr)
Parameters
- pNativeData
-
IntPtr
nativeint
A pointer to the unmanaged data to be destroyed.
Implements
Remarks
The CLR calls this method to clean up the unmanaged data allocated in the MarshalManagedToNative 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.