Name

XmlNameTable

Synopsis

This class presents a table of string objects (for element and attribute names) used in an XML document. The XML parser uses these string objects for efficient manipulation of repeated element and attribute names. An XmlNameTable exists for every XmlDocument you create. The XmlImplementation class instantiates a new XmlDocument with the XmlNameTable of another existing XmlDocument.

public abstract class XmlNameTable {
// Protected Constructors
   protected method XmlNameTable();  
// Public Instance Methods
   public abstract method string Add(char[] array, int offset, 
        int length);  
   public abstract method string Add(string array);  
   public abstract method string Get(char[] array, int offset, 
        int length);  
   public abstract method string Get(string array);  
}

Subclasses

NameTable

Returned By

XmlDocument.NameTable, XmlNamespaceManager.NameTable, XmlParserContext.NameTable, XmlReader.NameTable, System.Xml.XPath.XPathNavigator.NameTable

Passed To

XmlDocument.XmlDocument(), XmlNamespaceManager.XmlNamespaceManager(), XmlParserContext.{NameTable, XmlParserContext()}, XmlTextReader.XmlTextReader()

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.