Method SetHandle
- Namespace
- MaaFramework.Binding.Abstractions
- Assembly
- MaaFramework.Binding.dll
SetHandle(T, bool)
Sets the handle to the specified pre-existing handle.
protected void SetHandle(T handle, bool needReleased)Parameters
handleT-
The pre-existing handle to use.
needReleasedbool-
The value indicates whether the
handleneeds to be released on MaaFramework.Binding.Abstractions.MaaDisposableHandle`1.Dispose