This documentation is archived and is not being maintained.

HttpPostedFileBase Members

Visual Studio 2008

Serves as the base class for classes that provide access to individual files that have been uploaded by a client.

The HttpPostedFileBase type exposes the following members.

  NameDescription
Protected method HttpPostedFileBase Initializes the class for use by an inherited class instance. This constructor can only be called by an inherited class.
Top

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SaveAs When overridden in a derived class, saves the contents of an uploaded file.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property ContentLength When overridden in a derived class, gets the size of an uploaded file, in bytes.
Public property ContentType When overridden in a derived class, gets the MIME content type of an uploaded file.
Public property FileName When overridden in a derived class, gets the fully qualified name of the file on the client.
Public property InputStream When overridden in a derived class, gets a Stream object that points to an uploaded file to prepare for reading the contents of the file.
Top
Show: