Language

ProviderConnectionPointCollection.CopyTo メソッド

定義

コレクションを ProviderConnectionPoint オブジェクトの配列にコピーします。

public:
 void CopyTo(cli::array <System::Web::UI::WebControls::WebParts::ProviderConnectionPoint ^> ^ array, int index);
public void CopyTo(System.Web.UI.WebControls.WebParts.ProviderConnectionPoint[] array, int index);
member this.CopyTo : System.Web.UI.WebControls.WebParts.ProviderConnectionPoint[] * int -> unit
Public Sub CopyTo (array As ProviderConnectionPoint(), index As Integer)

パラメーター

array
ProviderConnectionPoint[]

コレクションのコピーされた項目を受け取る ProviderConnectionPoint オブジェクトの配列。

index
Int32

コレクションの内容を挿入する配列の開始点。

注釈

CopyTo メソッドは、ProviderConnectionPointCollection コレクションのすべてのメンバーを、ProviderConnectionPoint パラメーターで指定された配列内の位置から始まる、index オブジェクトの互換性のある 1 次元配列にコピーします。

CopyTo メソッドは、異なるコレクションのオブジェクトを 1 つの互換性のある配列に結合し、配列メソッドを使用して配列内の項目にアクセスできるようにする場合に便利です。

適用対象

こちらもご覧ください