Remove Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Remove a fragment from the list of fragments. If this fragment was not in the list, an exception will be raised.

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

Syntax

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

Parameters

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

See Also