RegExpMatchList RemoveRange Method C# API
Removes a range of elements from the RegExpMatchList.

Namespace: Facilita.Native
Assembly: clrNativeWrapper (in clrNativeWrapper.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void RemoveRange(
	int index,
	int count
)

Parameters

index
Type: System Int32
The zero-based starting index of the range of elements to remove.
count
Type: System Int32
The number of elements to remove.
Exceptions

ExceptionCondition
System ArgumentOutOfRangeExceptionindex is less than 0.
-or-
count is less than 0.
System ArgumentExceptionindex and count do not denote a valid range of elements in the RegExpMatchList.
Remarks

The items are removed and all the elements following them in the RegExpMatchList have their indexes reduced by count.

This method is an O(n) operation, where n is Count.

See Also