RegExpMatchList CopyTo Method ( RegExpMatch )C# API
Copies the elements of the RegExpMatchList to an Array.

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

public void CopyTo(
	RegExpMatch[] array
)

Parameters

array
Type:  Facilita.Native RegExpMatch 
The one-dimensional Array that is the destination of the elements copied from RegExpMatchList. The Array must have zero-based indexing.
Exceptions

ExceptionCondition
System ArgumentNullExceptionarray is null.
Remarks

This method uses Copy(Array, Array, Int32) to copy the elements.

The elements are copied to the Array in the same order in which the enumerator iterates through the RegExpMatchList.

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

See Also