StaticContextSettings.ImportModule Method (XdmModule)StaticContextSettings.ImportModule Method (XdmModule)StaticContextSettings::ImportModule Method (XdmModule^)
Imports the library with the specified target namespace, and adds the specified module to the library.
Parameters
- module
Type: XmlPrime.XdmModuleXmlPrime.XdmModuleXmlPrime::XdmModule^
A module to import.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | module is null
a null reference (Nothing in Visual Basic)
nullptr . |
Remarks
The module specified is added to LibrariesLibrariesLibraries, and the namespace of the module is implicitly imported in the XQuery Program, XPath Expression or XSL Transformation.
If the namespace is explicitly imported (via an import module
statement) then the declaration in the
query is ignored, and only the libraries added to the static context settings will be used.