Table of Contents

Method InsertAt

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

Inserts an object at the specified index in the LavalinkQueue<T>.

public void InsertAt(int index, T value)

Parameters

index int

The zero-based index at which the object should be inserted.

value T

The 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.