Explicitly set the namespaces for this datasource. This will remove all the default namespaces (if any) and/or namespaces previously explicitly set.
Syntax
Visual Basic (Declaration) | |
---|
Public Sub SetNamespaces( _
ByVal namespaces() As XPathNamespace _
) |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As XPathDataSource
Dim namespaces() As XPathNamespace
instance.SetNamespaces(namespaces) |
C# | |
---|
public void SetNamespaces(
XPathNamespace[] namespaces
) |
Managed Extensions for C++ | |
---|
public: void SetNamespaces(
XPathNamespace*[]* namespaces
) |
C++/CLI | |
---|
public:
void SetNamespaces(
array<XPathNamespace^>^ namespaces
) |
Parameters
- namespaces
- The namespaces for this XML datasource.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family
See Also