O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required