Table of Contents

Method TryIndexOf

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

TryIndexOf(DesktopWindowInfo, out ulong)

Attempts to get index of the specified element.

public override bool TryIndexOf(DesktopWindowInfo item, out ulong index)

Parameters

item DesktopWindowInfo

The element.

index ulong

The zero-based index of the item.

Returns

bool

true if the index is got successfully; otherwise, false.

Exceptions

NotSupportedException

The type of item is not supported.