This documentation is archived and is not being maintained.
HttpPostedFile Members
Visual Studio 2008
Provides access to individual files that have been uploaded by a client.
The HttpPostedFile type exposes the following members.
| 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 | Saves the contents of an uploaded file. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
ContentLength | Gets the size of an uploaded file, in bytes. |
|
ContentType | Gets the MIME content type of a file sent by a client. |
|
FileName | Gets the fully qualified name of the file on the client. |
|
InputStream | Gets a Stream object that points to an uploaded file to prepare for reading the contents of the file. |
Show: