HttpPostedFileBase.ContentLength Property

Definition

When overridden in a derived class, gets the size of an uploaded file, in bytes.

public:
 virtual property int ContentLength { int get(); };
public virtual int ContentLength { get; }
member this.ContentLength : int
Public Overridable ReadOnly Property ContentLength As Integer

Property Value

The length of the file, in bytes.

Exceptions

Applies to