DataKeyCollection.CopyTo メソッド
指定した System.Array オブジェクトに DataKeyCollection の項目をすべてコピーします。コピー操作は、System.Array オブジェクトの指定したインデックス位置から開始されます。
名前空間: System.Web.UI.WebControls
アセンブリ: System.Web (system.web.dll 内)
構文
'宣言
Public Sub CopyTo ( _
array As Array, _
index As Integer _
)
'使用
Dim instance As DataKeyCollection
Dim array As Array
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo (
Array array,
int index
)
public:
virtual void CopyTo (
Array^ array,
int index
) sealed
public final void CopyTo (
Array array,
int index
)
public final function CopyTo (
array : Array,
index : int
)
適用できません。
パラメータ
- array
DataKeyCollection の項目のコピー先の、インデックス番号が 0 から始まる System.Array オブジェクト。
- index
内容のコピー先として指定された System.Array オブジェクト内のコピー開始位置。
解説
このメソッドを使用して、指定した System.Array オブジェクトに DataKeyCollection の内容をコピーします。コピー操作は、指定したインデックスから開始されます。
メモ : |
---|
array パラメータは、インデックス番号が 0 から始まる System.Array オブジェクトにする必要があります。 |
プラットフォーム
Windows 98,Windows Server 2000 SP4,Windows CE,Windows Millennium Edition,Windows Mobile for Pocket PC,Windows Mobile for Smartphone,Windows Server 2003,Windows XP Media Center Edition,Windows XP Professional x64 Edition,Windows XP SP2,Windows XP Starter Edition
Microsoft .NET Framework 3.0 は Windows Vista,Microsoft Windows XP SP2,および Windows Server 2003 SP1 でサポートされています。
バージョン情報
.NET Framework
サポート対象 : 3.0,2.0,1.1,1.0
参照
関連項目
DataKeyCollection クラス
DataKeyCollection メンバ
System.Web.UI.WebControls 名前空間
System.Array