DocumentRange ClassEncog Machine Learning Framework for .Net
Base class that represents a document range. A document range is a collection of tags that all apply to one "concept". For example, a Form, or a Link. This allows the form to collect the elements inside the form, or a link to collect the text along with the link tag.
Inheritance Hierarchy

System Object
  Encog.Bot.Browse.Range DocumentRange
    Encog.Bot.Browse.Range Div
    Encog.Bot.Browse.Range Form
    Encog.Bot.Browse.Range FormElement
    Encog.Bot.Browse.Range Link
    Encog.Bot.Browse.Range Span

Namespace: Encog.Bot.Browse.Range
Assembly: encog-core-cs (in encog-core-cs.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax

public class DocumentRange

The DocumentRange type exposes the following members.

Constructors

  NameDescription
Public methodDocumentRange
Construct a document range from the specified WebPage.
Top
Methods

  NameDescription
Public methodAddElement
Add an element.
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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetTextOnly
Get the text from this range.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
This object as a string.
(Overrides Object ToString .)
Top
Properties

  NameDescription
Public propertyBegin
The beginning of this attribute.
Public propertyClassAttribute
The HTML class attribiute for this element.
Public propertyElements
The elements of this document range.
Public propertyEnd
The ending index.
Public propertyIdAttribute
The HTML id for this element.
Public propertyParent
The web page that owns this class.
Public propertySource
The web page that this range is owned by.
Top
See Also