XPathMessageContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an instance of XPathMessageContext.
Overloads
XPathMessageContext() |
Creates an instance of XPathMessageContext. |
XPathMessageContext(NameTable) |
Initializes a new instance of the XPathMessageContext class with the specified NameTable. |
XPathMessageContext()
Creates an instance of XPathMessageContext.
public:
XPathMessageContext();
public XPathMessageContext ();
Public Sub New ()
Applies to
XPathMessageContext(NameTable)
Initializes a new instance of the XPathMessageContext class with the specified NameTable.
public:
XPathMessageContext(System::Xml::NameTable ^ table);
public XPathMessageContext (System.Xml.NameTable table);
new System.ServiceModel.Dispatcher.XPathMessageContext : System.Xml.NameTable -> System.ServiceModel.Dispatcher.XPathMessageContext
Public Sub New (table As NameTable)
Parameters
Remarks
Several classes including this one, XmlDocument, and XmlReader use the NameTable class internally to store attribute and element names. When an element or attribute name occurs multiple times in an XML document, it is stored only once in the NameTable. The names are stored as common language runtime (CLR) object types. This enables you to do object comparisons on these strings rather than a more expensive string comparison.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin