ConsumerConnectionPointCollection.CopyTo Method (ConsumerConnectionPoint[], Int32)


Copies all the items from the ConsumerConnectionPointCollection collection to a compatible one-dimensional array of ConsumerConnectionPoint objects, starting at the specified index in the target array.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public void CopyTo(
	ConsumerConnectionPoint[] array,
	int index


Type: System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint[]

A zero-based array of ConsumerConnectionPoint objects that receives the copied items from the current ConsumerConnectionPointCollection.

Type: System.Int32

The position in the target array at which to start receiving the copied content.

Use this method to copy the contents of the current ConsumerConnectionPointCollection object into the specified zero-based array. Items are copied starting at the specified index of the target array. With the array, you can then use array syntax to access the items in the Array object.

.NET Framework
Available since 2.0
Return to top