Method RemoveRange
- Namespace
- DisCatSharp.Lavalink
- Assembly
- DisCatSharp.Lavalink.dll
RemoveRange(int, int)
Removes a range of elements from the LavalinkQueue<T>.
public ICollection<T> RemoveRange(int index, int count)
Parameters
index
intThe zero-based index of the first element to remove.
count
intThe number of elements to remove.
Returns
- ICollection<T>
A collection containing the removed elements.
Exceptions
- ArgumentOutOfRangeException
Thrown when the index or count is out of range.