TypeToTypeInfoMarshaler.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
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.