ContentLength Property
Collapse the table of content
Expand the table of content

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

© 2016 Microsoft