The prefixes for namespaces are pulled from the XML datasource. The default namespace, if one exists, needs to be set. The default is def (ie /def:root/def:elem ).
Syntax
Visual Basic (Declaration) | |
---|
Public Function getDefaultNamespacePrefix() As String |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As XPathDataSource
Dim value As String
value = instance.getDefaultNamespacePrefix() |
C# | |
---|
public string getDefaultNamespacePrefix() |
Managed Extensions for C++ | |
---|
public: string* getDefaultNamespacePrefix(); |
C++/CLI | |
---|
public:
String^ getDefaultNamespacePrefix(); |
Return Value
The prefix used for the default namespace in xpath selects.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family
See Also