Method InsertAt
- Namespace
- DisCatSharp.Lavalink
- Assembly
- DisCatSharp.Lavalink.dll
InsertAt(int, T)
Inserts an object at the specified index in the LavalinkQueue<T>.
public void InsertAt(int index, T value)
Parameters
index
intThe zero-based index at which the object should be inserted.
value
TThe object to insert. The value cannot be null.
Exceptions
- ArgumentOutOfRangeException
Thrown when the index is out of range.
- ArgumentNullException
Thrown when the value is null.
- ArgumentOutOfRangeException
Thrown when the index is out of range.