Export (0) Print
Expand All

HttpPostedFile.ContentLength Property

Gets the size in bytes of an uploaded file.

[Visual Basic]
Public ReadOnly Property ContentLength As Integer
public int ContentLength {get;}
public: __property int get_ContentLength();
public function get ContentLength() : int;

Property Value

The length of the file.


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpPostedFile Class | HttpPostedFile Members | System.Web Namespace

© 2014 Microsoft