NativeObject Class
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.
Represents a native object.
public class NativeObject : IDisposable
- Inheritance
-
NativeObject
- Derived
- Implements
Properties
| Handle |
Gets or sets the handle to the underlying native object. |
Methods
| Dispose() |
Releases all resources used by this NativeObject. |
| Dispose(Boolean) |
Releases the unmanaged resources used by the NativeObject and optionally releases the managed resources. |
| DisposeHandler() |
Releases the unmanaged resources used. |
| Finalize() |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. |