System.Web.UI.WebControls.FileUpload: Property Members

The properties of System.Web.UI.WebControls.FileUpload are listed below. For a list of all members, see the FileUpload Members list.

See Also: Inherited members from System.Web.UI.WebControls.WebControl

Public Properties

[read-only]
FileBytesbyte[].

Gets an array of the bytes in a file that is specified by using a System.Web.UI.WebControls.FileUpload control.

[read-only]
FileContentSystem.IO.Stream.

Gets a System.IO.Stream object that points to a file to upload using the System.Web.UI.WebControls.FileUpload control.

[read-only]
FileNamestring.

Gets the name of a file on a client to upload using the System.Web.UI.WebControls.FileUpload control.

[read-only]
HasFilebool.

Gets a value indicating whether the System.Web.UI.WebControls.FileUpload control contains a file.

[read-only]
PostedFileSystem.Web.HttpPostedFile.

Gets the underlying System.Web.HttpPostedFile object for a file that is uploaded by using the System.Web.UI.WebControls.FileUpload control.