Table of Contents

Method Clear

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

Clear()

Removes all elements from the MaaFramework.Binding.Buffers.IMaaListBuffer`1.

public override bool Clear()

Returns

bool

true if all elements are removed successfully; otherwise, false.

Remarks

Wrapper of MaaFramework.Binding.Interop.Native.MaaBuffer.MaaStringListBufferClear(System.IntPtr).

Exceptions

NotSupportedException

The MaaFramework.Binding.Buffers.IMaaListBuffer`1 is read-only.