DocumentCreateDocumentFragment Method

Creates a new empty DocumentFragment into which DOM nodes can be added to build an offscreen DOM tree.

Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 22.5
Syntax
public DocumentFragment CreateDocumentFragment()

Return Value

Type: DocumentFragment
The DocumentFragment.
Examples
var fragment = document.CreateDocumentFragment();
See Also