PatternCollection.ICollection<string>.CopyTo Method

Namespace
Kampute.DocToolkit.Collections
Assembly
  • Kampute.DocToolkit.dll

Definition

Copies the patterns in the collection to the specified array starting at the specified index.
void ICollection<string>.CopyTo(string[] array, int arrayIndex)

Parameters

array string[]
The array to copy the patterns to.
arrayIndex int
The index in the array at which to start copying.

Exceptions

ArgumentNullException
Thrown when the array is null.
ArgumentOutOfRangeException
Thrown when the index is less than 0.
ArgumentException
Thrown when the array is too small to contain all patterns.