HttpFileCollection.GetKey メソッド
アセンブリ: System.Web (system.web.dll 内)

Dim instance As HttpFileCollection Dim index As Integer Dim returnValue As String returnValue = instance.GetKey(index)
戻り値
index で指定された HttpFileCollection メンバの名前。

ファイル コレクション全体をループし、"CustInfo" という名前のファイル コレクション メンバが見つかった場合にアクションを実行する例を次に示します。
Dim loop1 As Integer Dim MyFileColl As HttpFileCollection = Request.Files For loop1 = 0 To MyFileColl.Count - 1 If MyFileColl.GetKey(loop1) = "CustInfo" Then '... End If Next loop1
int loop1; HttpFileCollection MyFileColl = Request.Files; for( loop1 = 0; loop1 < MyFileColl.Count; loop1++) { if( MyFileColl.GetKey(loop1) == "CustInfo") { //... } }

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からHttpFileCollection.GetKey メソッドを検索する場合は、下記のリンクをクリックしてください。

- HttpFileCollection.GetKey メソッドのページへのリンク