FSharp.Data


HtmlDocument Type

Represents an HTML document

Instance members

Instance member Description

this._Print

Full Usage: this._Print

Returns: string
Returns: string

Static members

Static member Description

HtmlDocument.AsyncLoad(uri, ?encoding)

Full Usage: HtmlDocument.AsyncLoad(uri, ?encoding)

Parameters:
Returns: Async<HtmlDocument>

Loads HTML from the specified uri asynchronously

uri : string
?encoding : Encoding
Returns: Async<HtmlDocument>

HtmlDocument.Load(uri, ?encoding)

Full Usage: HtmlDocument.Load(uri, ?encoding)

Parameters:
Returns: HtmlDocument

Loads HTML from the specified uri

uri : string
?encoding : Encoding
Returns: HtmlDocument

HtmlDocument.Load(reader)

Full Usage: HtmlDocument.Load(reader)

Parameters:
Returns: HtmlDocument

Loads HTML from the specified reader

reader : TextReader
Returns: HtmlDocument

HtmlDocument.Load(stream)

Full Usage: HtmlDocument.Load(stream)

Parameters:
Returns: HtmlDocument

Loads HTML from the specified stream

stream : Stream
Returns: HtmlDocument

HtmlDocument.New(children)

Full Usage: HtmlDocument.New(children)

Parameters:
    children : seq<HtmlNode> - The child elements of this document

Returns: HtmlDocument

Creates an html document

children : seq<HtmlNode>

The child elements of this document

Returns: HtmlDocument

HtmlDocument.New(docType, children)

Full Usage: HtmlDocument.New(docType, children)

Parameters:
    docType : string - The document type specifier string
    children : seq<HtmlNode> - The child elements of this document

Returns: HtmlDocument

Creates an html document

docType : string

The document type specifier string

children : seq<HtmlNode>

The child elements of this document

Returns: HtmlDocument

HtmlDocument.Parse(text)

Full Usage: HtmlDocument.Parse(text)

Parameters:
    text : string

Returns: HtmlDocument

Parses the specified HTML string

text : string
Returns: HtmlDocument