Method TryGetValue
- Namespace
- MaaFramework.Binding.Buffers
- Assembly
- MaaFramework.Binding.dll
TryGetValue(THandle, out string)
Gets the string from a MaaStringBuffer.
public static abstract bool TryGetValue(THandle handle, out string str)Parameters
handleTHandle-
The MaaStringBufferHandle.
strstring-
The string.
Returns
- bool
-
The System.String.
TryGetValue(out string, Func<THandle, bool>)
Gets the string from a function using MaaRectBuffer.
public static abstract bool TryGetValue(out string str, Func<THandle, bool> writeBuffer)Parameters
strstring-
The string.
writeBufferFunc<THandle, bool>-
The function used to write the string to the buffer.
Returns
- bool
-
The System.String.