Constructor OpenCvSafeHandle
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
OpenCvSafeHandle()
Initializes a new instance of the OpenCvSafeHandle class that owns the handle.
protected OpenCvSafeHandle()
OpenCvSafeHandle(bool)
Initializes a new instance of the OpenCvSafeHandle class.
protected OpenCvSafeHandle(bool ownsHandle)
Parameters
ownsHandlebooltrueif this instance owns the handle and should release it on disposal;falsefor a borrowed (non-owning) wrapper around an existing pointer.
OpenCvSafeHandle(nint, bool)
Initializes a new instance of the OpenCvSafeHandle class with an existing handle.
protected OpenCvSafeHandle(nint existingHandle, bool ownsHandle)