DekGenius.com
[ Team LiB ] Previous Section Next Section

NameTableSystem.Xml (system.xml.dll) CF 1.0, ECMA 1.0  class 

public class NameTable : XmlNameTable {
// Public Constructors
   public NameTable( );  
// Public Instance Methods
   public override string Add( char[ ] key, int start, int len);       // overrides XmlNameTable
   public override string Add( string key);                           // overrides XmlNameTable
   public override string Get( char[ ] key, int start, int len);       // overrides XmlNameTable
   public override string Get( string value);                         // overrides XmlNameTable
}

This class is a concrete implementation of the XmlNameTable type (described later in this chapter). It is entirely an optimization within the .NET XML stack; it provides 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. See XmlNameTable for more discussion of its behavior and usage.

Normally .NET applications have no need to use this class directly. At most, a new instance is passed in blindly when constructing various XML-related types, such as XmlNamespaceManager.

Hierarchy

System.Object XmlNameTable NameTable

Passed To

System.Xml.Xsl.XsltContext.XsltContext( )

    [ Team LiB ] Previous Section Next Section