Table of Contents

Method TrySetValue

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

TrySetValue(string, bool)

Sets the string to a MaaStringBuffer.

bool TrySetValue(string str, bool useEx = true)

Parameters

str string

The string.

useEx bool

Uses MaaSetStringEx() if true; otherwise, Uses MaaSetString().

Returns

bool

true if the System.String was set successfully; otherwise, false.