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
arraystring[]- The array to copy the patterns to.
arrayIndexint- 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.
