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

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

HttpFileCollection.CopyTo メソッド

配列の中の指定したインデックスから始まる Arrayファイル コレクションメンバコピーします

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

使用例使用例

新しArray オブジェクトファイル コレクション全体コピーする例を次に示します

' Create the one-dimensional target array.
 ' Dimension it large enough to hold the files collection.
 Dim MyArray As Array = Array.CreateInstance(GetType(String),
 Request.Files.Count)
 
 ' Copy the entire collection to the array.
 Request.Files.CopyTo(MyArray, 0)
    
// Create the one-dimensional target array.
 // Dimension it large enough to hold the files collection.
 Array MyArray = Array.CreateInstance( typeof(String), Request.Files.Count );
 
 // Copy the entire collection to the array.
 Request.Files.CopyTo( MyArray, 0 );
    
// Create the one-dimensional target array.
// Dimension it large enough to hold the files collection.
Array myArray = Array.CreateInstance(String.class.ToType(),
    get_Request().get_Files().get_Count());

// Copy the entire collection to the array.
get_Request().get_Files().CopyTo(myArray, 0);
// Create the one-dimensional target Array.
 // Dimension it large enough to hold the files collection.
 var myArray : System.Array = System.Array.CreateInstance(System.String,
 Request.Files.Count)
 
 // Copy the entire files collection to the array.
 Request.Files.CopyTo(myArray, 0)
    
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
HttpFileCollection クラス
HttpFileCollection メンバ
System.Web 名前空間
Array



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS