Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PropertyInformationCollection::CopyTo Method (array<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(
	array<PropertyInformation^>^ array,
	int index
)

Parameters

array
Type: array<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:
© 2017 Microsoft