Original GCHandle that implement IDisposable
Inheritance Hierarchy
OpenCvSharp.UtilitiesScopedGCHandle
Namespace: OpenCvSharp.Utilities
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The ScopedGCHandle type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ScopedGCHandle(Object) | Initializes a new instance of the ScopedGCHandle class | |
| ScopedGCHandle(Object, GCHandleType) | Initializes a new instance of the ScopedGCHandle class |
Properties
| Name | Description | |
|---|---|---|
| Handle | ||
| IsAllocated | ||
| Target |
Methods
| Name | Description | |
|---|---|---|
| AddrOfPinnedObject | ||
| Alloc(Object) | ||
| Alloc(Object, GCHandleType) | ||
| Dispose | Releases all resources used by the ScopedGCHandle | |
| Dispose(Boolean) | Releases the unmanaged resources used by the ScopedGCHandle and optionally releases the managed resources | |
| Equals | (Overrides ObjectEquals(Object).) | |
| Finalize |
Destructor
(Overrides ObjectFinalize.) | |
| Free | ||
| FromIntPtr | ||
| GetHashCode | (Overrides ObjectGetHashCode.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| ToIntPtr | ||
| ToString | (Overrides ObjectToString.) |
See Also