Table of Contents

Method RemoveAt

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

Removes the element at the specified index of the LavalinkQueue<T>.

public T RemoveAt(int index)

Parameters

index int

The zero-based index of the element to remove.

Returns

T

The value of the element that was removed.

Exceptions

Exception

Thrown when the node at the specified index is null.