Prefix

Node.Prefix property

The prefix read-only property returns the namespace prefix of the specified element, or null if no prefix is specified.

public virtual string Prefix { get; set; }

Property Value

The property returns associated associated namespace prefix.

Remarks

Reference:

DOM Standard - defines a platform-neutral model for events, aborting activities, and node trees.DOM Standard (DOM) # dom-element-prefix.GitHub - repository hosts the DOM Standard.

See Also