Table of Contents

Class DesktopWindowListBuffer

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

A class providing a reference implementation for Maa Toolkit Desktop Window List Buffer section of MaaFramework.Binding.Interop.Native.MaaToolkit.

public class DesktopWindowListBuffer : MaaListBuffer<nint, DesktopWindowInfo>, IMaaListBuffer<nint, DesktopWindowInfo>, IMaaListBuffer<DesktopWindowInfo>, IMaaBuffer<IMaaListBuffer<DesktopWindowInfo>>, IList<DesktopWindowInfo>, ICollection<DesktopWindowInfo>, IEnumerable<DesktopWindowInfo>, IEnumerable, IMaaDisposableHandle<nint>, IMaaDisposable, IDisposable

Inheritance

Implements

Inherited Members

Constructors

DesktopWindowListBuffer(nint)

Creates a MaaFramework.Binding.Buffers.DesktopWindowListBuffer instance.

DesktopWindowListBuffer()

Creates a MaaFramework.Binding.Buffers.DesktopWindowListBuffer instance.

Properties

IsEmpty

Gets a value indicates whether the MaaFramework.Binding.Buffers.IMaaListBuffer`1 is empty.

IsReadOnly

Gets a value indicating whether the System.Collections.Generic.ICollection`1 is read-only.

MaaSizeCount

Gets the number of elements contained in the MaaFramework.Binding.Buffers.IMaaListBuffer`1.

this[ulong]

Gets the element at the specified index.

Methods

Add(DesktopWindowInfo)

Adds an element to the MaaFramework.Binding.Buffers.IMaaListBuffer`1.

Clear()

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

ReleaseHandle()

When overridden in a derived class, executes the code required to free the handle.

RemoveAt(ulong)

Removes the element at the specified index.

TryIndexOf(DesktopWindowInfo, out ulong)

Attempts to get index of the specified element.