HttpPostedFile.ContentLength プロパティとは何? わかりやすく解説 Weblio辞書 (original) (raw)
アップロードされたファイルのサイズをバイト単位で取得します。
名前空間: System.Web
アセンブリ: System.Web (system.web.dll 内)
構文
Public ReadOnly Property ContentLength As Integer
Dim instance As HttpPostedFile Dim value As Integer
value = instance.ContentLength
public int ContentLength { get; }
public: property int ContentLength { int get (); }
/** @property */ public int get_ContentLength ()
public function get ContentLength () : int
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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
.NET Framework
サポート対象 : 2.0、1.1、1.0
関連項目
HttpPostedFile クラス
HttpPostedFile メンバ
System.Web 名前空間
ContentType