Form MethodsC# API
The Form type exposes the following members.
Methods

  NameDescription
Public methodAddElement
Appends the specified HtmlElement to the end of this Form.
Public methodClone
Initialises a new instance of the HtmlElement class, which is a copy of the specified HtmlElement.
(Inherited from HtmlElement.)
Public methodDispose
(Overrides HtmlElement Dispose .)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAttribute
Gets the value of the specified attribute, or an empty string if the attribute is not contained within this HTML element.
(Inherited from HtmlElement.)
Public methodStatic membergetCPtr
For internal use only. Of no interest to the user.
Public methodGetFileElement(String)
Gets the FileElement with the specified name.
Public methodGetFileElement(String, String)
Gets the FileElement with the specified name and value.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHtmlElement(Int32)
Gets the nth HtmlElement object in this Form.
Public methodGetHtmlElement(String)
Gets the HtmlElement with the specified name.
Public methodGetHtmlElement(String, String)
Gets the HtmlElement with the specified name and value.
Public methodGetInputElement(String)
Gets the InputElement with the specified name.
Public methodGetInputElement(String, String)
Gets the InputElement with the specified name and value.
Public methodGetOptionElement(String)
Gets the OptionElement with the specified name.
Public methodGetOptionElement(String, String)
Gets the OptionElement with the specified name and value.
Public methodGetSelectElement(String)
Gets the SelectElement with the specified name.
Public methodGetSelectElement(String, String)
Gets the SelectElement with the specified name and value.
Public methodGetTextAreaElement(String)
Gets the TextAreaElement with the specified name.
Public methodGetTextAreaElement(String, String)
Gets the TextAreaElement with the specified name and value.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasAttribute
Determines whether this HTML element contains the specified attribute.
(Inherited from HtmlElement.)
Public methodInsertElement
Inserts the specified HtmlElement into the form.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveAttribute
Removes an attribute from this HTML element. This method has no effect if the attribute does not exist.
(Inherited from HtmlElement.)
Public methodRemoveElement(Int32)
Removes the nth HtmlElement from this Form.
Public methodRemoveElement(String)
Removes the HtmlElement with the specified name from this Form.
Public methodRemoveElement(String, String)
Removes the HtmlElement with the specified name and value from this Form.
Public methodSetAttribute(String)
Sets the value of the specified attribute to an empty string.
(Inherited from HtmlElement.)
Public methodSetAttribute(String, String)
Sets the value of the specified attribute. The attribute will be added if it does not already exist.
(Inherited from HtmlElement.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Back to Top
See Also