Name

NameTable

Synopsis

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.

Public Class NameTable : Inherits XmlNameTable
' Public Constructors
   Public Sub New() 
' Public Instance Methods
   Overrides Public Function Add(ByVal key As Char(), 
        ByVal start As Integer, 
        ByVal len As Integer) As String  
   Overrides Public Function Add(
        ByVal key As String) As String  
   Overrides Public Function Get(ByVal key As Char(), 
        ByVal start As Integer, 
        ByVal len As Integer) As String  
   Overrides Public Function Get(
        ByVal value As String) As String  
End Class

Hierarchy

System.ObjectXmlNameTable NameTable

Passed To

System.Xml.Xsl.XsltContext.XsltContext()

Get VB.NET Core Classes 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.