CopyTo Method
Collapse the table of content
Expand the table of content

PropertyInformationCollection.CopyTo Method (PropertyInformation[], Int32)

 

Copies the entire PropertyInformationCollection collection to a compatible one-dimensional Array, starting at the specified index of the target array.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public void CopyTo(
	PropertyInformation[] array,
	int index
)

Parameters

array
Type: System.Configuration.PropertyInformation[]

A one-dimensional Array that is the destination of the elements copied from the PropertyInformationCollection collection. The Array must have zero-based indexing.

index
Type: System.Int32

The zero-based index in array at which copying begins.

Exception Condition
ArgumentNullException

array is null.

ArgumentOutOfRangeException

The Length property of array is less than Count + index.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft