Prepend Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Prepends a fragment to the list of fragments.

Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public void Prepend(
	MixedCodeDocumentFragment newFragment
)
Visual Basic
Public Sub Prepend ( _
	newFragment As MixedCodeDocumentFragment _
)
Visual C++
public:
void Prepend(
	MixedCodeDocumentFragment^ newFragment
)

Parameters

newFragment
Type: HtmlAgilityPack..::..MixedCodeDocumentFragment
The fragment to append. May not be null.

See Also