ConfigurationAttributeCollection.ICollection.CopyTo(Array, 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.
Copies the collection to an array.
virtual void System.Collections.ICollection.CopyTo(Array ^ array, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo (Array array, int index);
Parameters
- array
- Array
The array to copy the ConfigurationAttributeCollection object to.
- index
- Int32
The index location at which to begin copying.
Implements
Exceptions
ArgumentNullException
array
is null
.
ArgumentOutOfRangeException
The length of array
is less than the value of the Count property plus index
.