ExpandoToDispatchExMarshaler.CleanUpNativeData(IntPtr) Method
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)
- pNativeData
-
IntPtr
nativeint
A pointer to the unmanaged data to be destroyed.
The CLR calls this method to clean up the unmanaged data allocated in the MarshalManagedToNative method.
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: