Document.CreateDocumentFragment

Document.CreateDocumentFragment method

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

public DocumentFragment CreateDocumentFragment()

Return Value

The DocumentFragment.

Examples

var fragment = document.CreateDocumentFragment();

See Also