ChatHistory.RemoveRange(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.