Click or drag to resize

IAttribute Interface

Represents DOM HTML attribute.

Namespace:  DotNetBrowser.Dom
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.24.0
Syntax
C#
public interface IAttribute : INode, 
	IEventTarget, IAutoDisposable, ISearchContext

The IAttribute type exposes the following members.

Properties
  NameDescription
Public propertyChildren
Gets the collection of the child nodes. Modifying this collection will lead to the DOM tree modification.
(Inherited from INode.)
Public propertyDocument
Gets the document instance containing this node.
(Inherited from INode.)
Public propertyEvents
Gets the DOM events that can be listened.
(Inherited from IEventTarget.)
Public propertyFrame
Gets the frame containing this node.
(Inherited from INode.)
Public propertyIsDisposed
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.)
Public propertyNextSibling
Gets the next sibling node in the document tree.
(Inherited from INode.)
Public propertyNodeName
Gets the name of this node, depending on its NodeType.
(Inherited from INode.)
Public propertyNodeValue
Gets the value of this node, depending on its NodeType.
(Inherited from INode.)
Public propertyOwner
Gets an owner element of the attribute.
Public propertyParent
Gets the parent node.
(Inherited from INode.)
Public propertyPreviousSibling
Gets the previous sibling node in the document tree.
(Inherited from INode.)
Public propertyTextContent
Gets or sets the text content of the node and its descendants.
(Inherited from INode.)
Public propertyType
Gets the type of this node.
(Inherited from INode.)
Public propertyXPath
Gets an XPath for the current Node.
(Inherited from INode.)
Top
Methods
  NameDescription
Public methodClick
Simulates click on the current Node.
(Inherited from INode.)
Public methodCompareDocumentPosition
Compares position of the current node against another node in a DOM tree.
(Inherited from INode.)
Public methodDispatchEvent
Dispatches (sends) a particular DOM event to the current target.
(Inherited from IEventTarget.)
Public methodEvaluate
Evaluates an XPath expression.
(Inherited from INode.)
Public methodGetElementByClassName
Finds the first IElement object in the current search context by the given className.
(Inherited from ISearchContext.)
Public methodGetElementByCssSelector
Finds the first IElement object in the current search context by the given CSS selector.
(Inherited from ISearchContext.)
Public methodGetElementById
Finds the first IElement object in the current search context by the given id.
(Inherited from ISearchContext.)
Public methodGetElementByName
Finds the first IElement object in the current search context by the given name.
(Inherited from ISearchContext.)
Public methodGetElementByTagName
Finds the first IElement object in the current search context by the given tag name.
(Inherited from ISearchContext.)
Public methodGetElementsByClassName
Finds all IElement objects in the current search context by the given className.
(Inherited from ISearchContext.)
Public methodGetElementsByCssSelector
Finds all IElement objects in the current search context by the given cssSelector.
(Inherited from ISearchContext.)
Public methodGetElementsByName
Finds all IElement objects in the current search context by the given name.
(Inherited from ISearchContext.)
Public methodGetElementsByTagName
Finds all IElement objects in the current search context by the given tag name.
(Inherited from ISearchContext.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.)
Top
See Also