Table of Contents

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

handle THandle

The MaaStringBufferHandle.

str string

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

str string

The string.

writeBuffer Func<THandle, bool>

The function used to write the string to the buffer.

Returns

bool

The System.String.