Share via


ChatHistory.RemoveRange(Int32, Int32) Method

Definition

Removes a range of messages from the history.

public void RemoveRange (int index, int count);
member this.RemoveRange : int * int -> unit
Public Sub RemoveRange (index As Integer, count As Integer)

Parameters

index
Int32

The index of the range of elements to remove.

count
Int32

The number of elements to remove.

Exceptions

count is less than 0.

count and count do not denote a valid range of messages.

Applies to