The TreeBuilder type exposes the following members.

Methods

  NameDescription
BuildDomTree
Parse and build the Dom. This method will initialize the Root property with the root element of the Dom.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object 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.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
DocType
Gets the DOCTYPE element if present in the document. Otherwise null.
OwnerBrowser
Gets the owner Browser object of this Dom Tree.
Root
Gets the root Element node. You can access the tree using this node.
TestRegions
Gets a dictionary list of all testregions in the current Dom tree. You can access these regions direction from this property.

Examples

To access the 'foo' test region you can simply call:
CopyC#
TestRegion foo = myBrowser.DomTree.TestRegions["foo"];

See Also