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
handle
T-
The pre-existing handle to use.
needReleased
bool-
The value indicates whether the
handle
needs to be released on MaaFramework.Binding.Abstractions.MaaDisposableHandle`1.Dispose