C# Class NSoup.Nodes.Comment

A comment node.
Inheritance: NSoup.Nodes.Node
显示文件 Open project: milenstack/NSoup Class Usage Examples

Public Methods

Method Description
Comment ( string data, string baseUri ) : System.Text

Create a new comment node.

GetData ( ) : string

Get the contents of the comment.

OuterHtmlHead ( StringBuilder accum, int depth, NSoup.Nodes.OutputSettings output ) : void
OuterHtmlTail ( StringBuilder accum, int depth, NSoup.Nodes.OutputSettings output ) : void
ToString ( ) : string

Method Details

Comment() public method

Create a new comment node.
public Comment ( string data, string baseUri ) : System.Text
data string The contents of the comment
baseUri string base URI
return System.Text

GetData() public method

Get the contents of the comment.
public GetData ( ) : string
return string

OuterHtmlHead() public method

public OuterHtmlHead ( StringBuilder accum, int depth, NSoup.Nodes.OutputSettings output ) : void
accum StringBuilder
depth int
output NSoup.Nodes.OutputSettings
return void

OuterHtmlTail() public method

public OuterHtmlTail ( StringBuilder accum, int depth, NSoup.Nodes.OutputSettings output ) : void
accum StringBuilder
depth int
output NSoup.Nodes.OutputSettings
return void

ToString() public method

public ToString ( ) : string
return string