The FileElement type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
AddFile(String, String) |
Adds a file to the list of files to upload. It will be uploaded when the Form which contains this FileElement is sent to the web server.
| |
AddFile(String, String, String) |
Adds a file to the list of files to upload. It will be uploaded when the Form which contains this FileElement is sent to the web server.
| |
AddFile(String, String, String, String) |
Adds a file to the list of files to upload. It will be uploaded when the Form which contains this FileElement is sent to the web server.
| |
ClearFiles |
Clears the list of files to be uploaded.
| |
Clone |
Initialises a new instance of the FileElement class, which is a copy of the specified FileElement.
(Overrides InputElement Clone .) | |
Dispose | (Overrides InputElement Dispose .) | |
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.) | |
GetAttribute |
Gets the value of the specified attribute,
or an empty string if the attribute is not contained within this HTML element.
(Inherited from HtmlElement.) | |
getCPtr |
For internal use only. Of no interest to the user.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasAttribute |
Determines whether this HTML element contains the specified attribute.
(Inherited from HtmlElement.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveAttribute |
Removes an attribute from this HTML element. This method has no effect if the attribute does not exist.
(Inherited from HtmlElement.) | |
RemoveFile |
Removes a file from the list of files to be uploaded.
| |
SetAttribute(String) |
Sets the value of the specified attribute to an empty string.
(Inherited from HtmlElement.) | |
SetAttribute(String, String) |
Sets the value of the specified attribute. The attribute will be added if it does not already exist.
(Inherited from HtmlElement.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also