HttpPostedFile.FileName プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > HttpPostedFile.FileName プロパティの意味・解説 

HttpPostedFile.FileName プロパティ

クライアント上のファイルの完全修飾名を取得します

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

使用例使用例

アップロードされたファイル (ファイル コレクション内の最初ファイル) の名前を文字列変数代入する方法次のコード例示します

Dim MyFileColl As HttpFileCollection = Request.Files
 Dim MyPostedFile As HttpPostedFile = MyFileColl.Get(0)
 Dim MyFileName As String
 = MyPostedFile.FileName
    
HttpFileCollection MyFileColl = Request.Files;
 HttpPostedFile MyPostedFile = MyFileColl.Get(0);
 String MyFileName = MyPostedFile.FileName;
    
HttpFileCollection myFileColl = get_Request().get_Files();
HttpPostedFile myPostedFile = myFileColl.Get(0);
String myFileName = myPostedFile.get_FileName();
var myFileCollection : HttpFileCollection = Request.Files
var myPostedFile : HttpPostedFile = myFileCollection.Get(0)
var myFileName : String = myPostedFile.FileName

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
HttpPostedFile クラス
HttpPostedFile メンバ
System.Web 名前空間
HttpPostedFile.ContentType プロパティ


このページでは「.NET Framework クラス ライブラリ リファレンス」からHttpPostedFile.FileName プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からHttpPostedFile.FileName プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からHttpPostedFile.FileName プロパティ を検索

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

辞書ショートカット

すべての辞書の索引

HttpPostedFile.FileName プロパティのお隣キーワード
検索ランキング

   

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



HttpPostedFile.FileName プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS