ConsumerConnectionPointCollection.CopyTo Method

Note: This method is new in the .NET Framework version 2.0.

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 (
	array<ConsumerConnectionPoint^>^ array, 
	int index
)
public void CopyTo (
	ConsumerConnectionPoint[] array, 
	int index
)
public function CopyTo (
	array : ConsumerConnectionPoint[], 
	index : int
)

Parameters

array

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

index

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: