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.
| Name | Description | |
|---|---|---|
|
HttpPostedFileBase | Initializes the class for use by an inherited class instance. This constructor can only be called by an inherited class. |
| Name | Description | |
|---|---|---|
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
SaveAs | When overridden in a derived class, saves the contents of an uploaded file. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
ContentLength | When overridden in a derived class, gets the size of an uploaded file, in bytes. |
|
ContentType | When overridden in a derived class, gets the MIME content type of an uploaded file. |
|
FileName | When overridden in a derived class, gets the fully qualified name of the file on the client. |
|
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. |
Show: