XQuerySettings Constructor (XmlNameTable)XQuerySettings Constructor (XmlNameTable)XQuerySettings Constructor (XmlNameTable^)

Initializes a new instance of the XQuerySettingsXQuerySettingsXQuerySettings class with the specified XmlNameTableXmlNameTableXmlNameTable.

Syntax

Public Sub New ( _
    nameTable As System.Xml.XmlNameTable _
)
public XQuerySettings(
    System.Xml.XmlNameTable nameTable
)
public:
XQuerySettings(
    System.Xml::XmlNameTable^ nameTable
)
 

Parameters

nameTable

Type: System.Xml.XmlNameTableSystem.Xml.XmlNameTableSystem.Xml::XmlNameTable^

The XmlNameTableXmlNameTableXmlNameTable to be used for atomized string comparisons.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionnameTable is null a null reference (Nothing in Visual Basic) nullptr.
LicenceExceptionLicenceExceptionLicenceExceptionThis version of XmlPrime has expired.

Remarks

For security reasons, by default the new XQuerySettingsXQuerySettingsXQuerySettings instance does not enable the import of external modules. This can be enabled by setting the ModuleResolverModuleResolverModuleResolver property.