Method RemoveAt
- Namespace
- DisCatSharp.Lavalink
- Assembly
- DisCatSharp.Lavalink.dll
RemoveAt(int)
Removes the element at the specified index of the LavalinkQueue<T>.
public T RemoveAt(int index)
Parameters
index
intThe 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.