Table of Contents

Method TryAdd

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

TryAdd(AdbDeviceInfo)

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

public override bool TryAdd(AdbDeviceInfo item)

Parameters

item AdbDeviceInfo

The object to add to the MaaFramework.Binding.Buffers.IMaaListBuffer`1.

Returns

bool

true if the element is added successfully; otherwise, false.

Exceptions

NotSupportedException

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