EnumeratorToEnumVariantMarshaler.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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.