ImportNodeOptions Class

Represents the options of importNode().

public sealed class ImportNodeOptions

Constructors

NameDescription
ImportNodeOptions()

ImportNodeOptions()

public ImportNodeOptions()

No documentation is available.

Properties

NameDescription
CustomElementRegistryGets the custom element registry associated with the imported nodes.
SelfOnlyGets a value indicating whether only the node itself is imported, without its descendants.

CustomElementRegistry

Document.cs

Gets the custom element registry associated with the imported nodes.

public CustomElementRegistry? CustomElementRegistry { get; init; }

SelfOnly

Document.cs

Gets a value indicating whether only the node itself is imported, without its descendants.

public bool SelfOnly { get; init; }