CodeAttributeArgumentCollection.CopyTo メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > CodeAttributeArgumentCollection.CopyTo メソッドの意味・解説 

CodeAttributeArgumentCollection.CopyTo メソッド

指定したインデックスコピー開始位置として、1 次元Array インスタンスコレクション オブジェクトコピーします

名前空間: System.CodeDom
アセンブリ: System (system.dll 内)
構文構文

Public Sub CopyTo ( _
    array As CodeAttributeArgument(), _
    index As Integer _
)
Dim instance As CodeAttributeArgumentCollection
Dim array As CodeAttributeArgument()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo (
    CodeAttributeArgument[] array,
    int index
)
public:
void CopyTo (
    array<CodeAttributeArgument^>^ array, 
    int index
)
public void CopyTo (
    CodeAttributeArgument[] array, 
    int index
)
public function CopyTo (
    array : CodeAttributeArgument[], 
    index : int
)

パラメータ

array

コレクションから値がコピーされる先の 1 次元Array

index

挿入開始位置を示す、配列内のインデックス

例外例外
例外種類条件

ArgumentException

配列先が多次元です。

または

CodeAttributeArgumentCollection 内の要素の数が、index パラメータ指定されターゲット配列インデックスからターゲット配列末尾までの間にある使用可能な空間大きさ超えてます。

ArgumentNullException

array パラメータnull 参照 (Visual Basic では Nothing) です。

ArgumentOutOfRangeException

index パラメータが、ターゲット配列最小インデックスより小さい値です。

使用例使用例
' Copies the contents of the collection beginning at index 0,
' to the specified CodeAttributeArgument array.
' 'arguments' is a CodeAttributeArgument array.
collection.CopyTo(arguments, 0)
// Copies the contents of the collection beginning at index 0,
// to the specified CodeAttributeArgument array.
// 'arguments' is a CodeAttributeArgument array.
collection.CopyTo( arguments, 0 );
// Copies the contents of the collection beginning at index 0,
// to the specified CodeAttributeArgument array.
// 'arguments' is a CodeAttributeArgument array.
collection->CopyTo( arguments, 0 );
// Copies the contents of the collection beginning at index 0,
// to the specified CodeAttributeArgument array.
// 'arguments' is a CodeAttributeArgument array.
collection.CopyTo(arguments, 0);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
CodeAttributeArgumentCollection クラス
CodeAttributeArgumentCollection メンバ
System.CodeDom 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

CodeAttributeArgumentCollection.CopyTo メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



CodeAttributeArgumentCollection.CopyTo メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS