Table of Contents

Method TryGetValue

Namespace
MaaFramework.Binding.Buffers
Assembly
MaaFramework.Binding.Native.dll

TryGetValue(out string)

Gets the string from a MaaStringBuffer.

public bool TryGetValue(out string str)

Parameters

str string

The string.

Returns

bool

The System.String.

TryGetValue(nint, out string)

Gets the string from a MaaStringBuffer.

public static bool TryGetValue(nint handle, out string str)

Parameters

handle nint

The MaaStringBufferHandle.

str string

The string.

Returns

bool

The System.String.

TryGetValue(out string, Func<nint, bool>)

Gets the string from a function using MaaRectBuffer.

public static bool TryGetValue(out string str, Func<nint, bool> writeBuffer)

Parameters

str string

The string.

writeBuffer Func<nint, bool>

The function used to write the string to the buffer.

Returns

bool

The System.String.