INamedNodeMap
Definition
Namespace:Telerik.Windows.Documents.FormatProviders.Html.Parsing.Dom
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public interface INamedNodeMap
Properties
Methods
Retrieves a node specified by name.
Retrieves a node specified by local name and namespace URI. HTML-only DOM implementations do not need to implement this method.
INode GetNamedItemNS(string namespaceUri, string localName)
A
<pre><code class="lang-csharp">Node</code></pre>
(of any type) with the specified local name and namespace URI, or
<pre><code class="lang-csharp">null</code></pre>
if they do not identify any node in this map.
Returns the
<pre><code class="lang-csharp">index</code></pre>
th item in the map. If
<pre><code class="lang-csharp">index</code></pre>
is greater than or equal to the number of nodes in this map, this
returns
<pre><code class="lang-csharp">null</code></pre>
.
Removes a node specified by name. When this map contains the attributes attached to an element, if the removed attribute is known to have a default value, an attribute immediately appears containing the default value as well as the corresponding namespace URI, local name, and prefix when applicable.
INode RemoveNamedItem(string name)
The node removed from this map if a node with such a name exists.
NOT_FOUND_ERR: Raised if there is no node named
<pre><code class="lang-csharp">name</code></pre>
in
this map.
NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.